Targets

Each test case has to consist of at least one target. You can provide targets using definition.setTarget as follows:

definition.setTarget("http://api.example.com");
// or
definition.setTargets(["https://api.example.com", "https://api2.exaple.com:8081"]);

Note that if you specify a relative URL in your requests, we will use all specified targets in the setTargets definition in a round robin approach. If you need to define different targets in specific requests you have to hardcode those in the request URL:

definition.session("index", function(session) {
  session.get("https://api.example.com/index");
});
Get started icon

Get Started

New to the StormForger?
With these guides you’ll be up and running in no time!

FAQ icon

FAQ

Already took a look at our FAQs?

Support icon

Support

Are you stuck? Talk to us! We're humans.

We are using cookies to give you the best online experience. If you continue to use this site, you agree to our use of cookies. By declining we will disable all but strictly required cookies. Please see our privacy policy for more details.


Accept Decline