Answered question

automatically encoding an extracted variable?

I have an extraction of a date (among other variables)

2015-03-24T15:08:17.641Z

When the date is next used in a request it has been encoded.

2015-03-24T15%3A08%3A17.641Z

At the moment I have used a small javascript file to encode the extracted values and replace the unencoded version in the variable.

Is there another way to do this without javascript?

Thanks

Paul C.
Paul C.

Paul C.

Level
0
91 / 100
points
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

If that date is a value of a parameter you can use the "encode" option when you edit that parameter value.

If that date is a subset of a parameter value and only that date is encoded then the only way is to use a Javascript.

Same thing if that date is part of a POST text content or any Plugin like GWT, Flex...

Check the NeoLoad documentation here to see where that encode option is.

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful