Jagsjagannath.dev·Sep 18, 2024Mastering API Testing: A Comparison of HAR Files and Mocking TechniquesWhen testing API interactions, you have two primary options: using HAR (HTTP Archive) files or mocking. Each method has its strengths and weaknesses, and the choice between them depends on your specific testing needs. Use HAR Files for: Complex, mul...PlaywrightMocking
Jagsjagannath.dev·Sep 18, 2024Mastering Playwright: Learn secure HAR-Based Mocking in PlaywrightTo start, you'll need to record all necessary network calls into a HAR (HTTP Archive) file. The process for doing so varies slightly depending on the browser you're using. Next, you'll want to sanitize your HAR file to remove any sensitive informatio...27 readsPlaywrightplaywright
Yuvan ArvindforRequestlyrequestly.hashnode.dev·Aug 4, 2023What is a HAR file and How to analyze them?HAR(HTTP Archive) files contain a lot of information, including the URL of each request, request and response headers, timings, and any error messages or status codes encountered during the communication. This data is useful for analyzing web perform...analysis