Unanswered question

How can i add constant string to extarcted variable from variabkle extrractor

I am extracting token string from the Auth request and placing it into the next request but when i extract my token string is missing JWS i need to add it to the extracted string

Deepa A.
Deepa A.

Deepa A.

Level
0
1 / 100
point

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

Since NeoLoad 5.4, you can use a custom Javascript when you would like to decode an extracted value with custom libraries.

In your variable extractor definition, select the option "Value is encoded as" and then "custom" from the drop down list. Then hit the "Edit decoder" button.

In the line var decodedValue = encodedValue + "string "; you can simply add your string value so it is appended to your extracted value.