'How to do stress testing ,if API's are hidden due to security reason?

I need help or any suggestion. I have no idea how to do it? Request URL: https://www.vizofly.com/NTU/Stress/StreamingAssets/Schools.json Request Method: GET Status Code: 200 (from disk cache) Remote Address: 172.66.43.59:443 Referrer Policy: strict-origin-when-cross-origin alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400 cf-cache-status: DYNAMIC cf-ray: 6d4c32aacdb1926d-FRA content-encoding: br content-type: application/json date: Fri, 28 Jan 2022 18:14:00 GMT etag: W/"1261-61f2caaf-3e2d8e;;;" expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" last-modified: Thu, 27 Jan 2022 16:39:11 GMT nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} report-to: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v3?s=aVZAHndifoZtrY0MH3O1WlauF71saxbdUuS7eBS0tReoUi5fGDG3zSlxFCTvbIwJxvGeVeiQyjT%2FVIUWKfUpxNbRT1jUi%2F9VEOvJnaBBRtJKapsW8RBKeLUxqP%2FusLzYEHQ%3D"}],"group":"cf-nel","max_age":604800} server: cloudflare x-content-type-options: nosniff x-frame-options: ALLOW-FROM https://www.ntu.edu.sg



Solution 1:[1]

If you're asking about how to configure JMeter to send the request:

  1. Add Thread Group to your Test plan

  2. Add HTTP Request sampler and set it up like:

    enter image description here

  3. You may also want to add HTTP Cache Manager to represent browser cache, HTTP Cookie Manager to automatically handle cookies and so on in order to configure JMeter to behave more like a real browser

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitri T