Wednesday, May 30, 2018

Handling Variable Number of Request Parameters in Neoload

If your request has a lot of parameters which are being passed to HTTP Request, creating a request to manually correlate the data will be a cumbersome process when instead, we can use scripting capabilities using JavaScript in Neoload to make a much easier and effective way of handling them.

Steps to Handle "Too Many Request Parameters" With Dynamic Values

  1. Correlate the request parameters using variable extractors.
  2. Using Javascript, construct the string with all the request parameters and store that in a variable.
  3. Change the Post Content Type to Text in HTTP Request.
  4. Pass the variable into the request.

Here is a practical explanation.



from DZone.com Feed https://ift.tt/2pLfF9h

No comments:

Post a Comment