Key takeaways

  • Header presets stop you re-entering auth and content-type headers on every test.
  • Keep a preset per environment so a test cannot accidentally target the wrong one.
  • Update the preset rather than individual tests when an API changes.

We’ve implemented the Header Presets functionality in order to save time and reused same set of headers for future load tests.

Is Your Infrastructure Ready for Global Traffic Spikes?

Unexpected load surges can disrupt your services. With LoadFocus’s cutting-edge Load Testing solutions, simulate real-world traffic from multiple global locations in a single test. Our advanced engine dynamically upscales and downscales virtual users in real time, delivering comprehensive reports that empower you to identify and resolve performance bottlenecks before they affect your users.

View Pricing
Real-time insights
Discover More
Global scalability

The steps on how to use the Header Presets are described below:

  • Under the URL section click on the Headers button
    url_header_presets_1
  • Click “Manage Presets” button and Popup appears with the list of current presets (empty at the beginning)
    url_header_presets_2
  • Click “Add” button to add new presets
  •  New Presets popup appears
    • Select a name for the current set of headers presets
    • Start adding key/value pairs for the current preset
    • Click “Submit” when finished adding all the key/value pairs

    url_header_presets_3

  • The new preset will be visible in the Manage Presets popup
    url_header_presets_4
  • If you want to edit the current preset, just click on the preset name and edit the preset (names and values)
  • Close the “Manage Presets” popup and the presets dropdown will be populated with all created presets
    url_header_presets_5
  • Now just select the desired preset and the Headers will get populated with the values from the preset
    url_header_presets_6
  • You can click on any preset in the dropdown, the values will append to the existing ones

Use the headers for load testing websites or APIs with custom headers.

Hope this helps is making LoadFocus a better and easier load testing service and your choice for the load testing tool to use.

Think your website can handle a traffic spike?

Fair enough, but why leave it to chance? Uncover your website’s true limits with LoadFocus’s cloud-based Load Testing for Web Apps, Websites, and APIs. Avoid the risk of costly downtimes and missed opportunities—find out before your users do!

Effortless setup No coding required

LoadFocus is a Cloud Testing Platform used for Load and Performance Testing for Websites and APIs and Website Speed Testing with Analytics.

Frequently Asked Questions

What problem do header presets solve?

Re-entering the same authorisation and content-type headers on every new test. Saving them once removes a step that is easy to get subtly wrong when typed repeatedly.

Should I keep one preset or several?

One per environment. A single shared preset is how a test ends up pointed at the wrong environment with credentials that happen to work there.

What happens when the API changes?

Update the preset rather than each test. That is the point of having it: one edit propagates instead of leaving a few old tests quietly sending stale headers.

LoadFocus is an all-in-one Cloud Testing Platform for Websites and APIs for Load Testing, Apache JMeter Load Testing, Page Speed Monitoring and API Monitoring!

Effortless setup No coding required

Related reading

Chris
Head of Content at LoadFocus

Chris leads content and oversees development across the services this blog covers. The guides and tool comparisons here come out of the same decisions that shape what ships.

How fast is your website? Free Website Speed Test