Reputation: 1021
I've got a page response which contains a "contextToken" as below. Notice the pipes and double backslashes:
I use a boundary extractor to successfully retrieve this value:
The debugger correctly shows the extracted value with double backslashes and pipes:
However the request where I'm using this token has substituted the pipes and backlashes with % signs and numbers:
Since the token is not right on submission of page I get a failure. How do I retain and pass the contextToken exactly as it is?
Upvotes: 0
Views: 58
Reputation: 168122
I believe it's a matter of visualisation only, the real problem lives somewhere else, you can check what exactly you're sending using an external sniffer tool like Wireshark, here is an example:
Use your browser developer tools in order to compare the token from the previous response and the token which is being sent with the next request, it might be the case you will need to transform it somehow like URL Encode, encodeURIComponent, escape HTML characters or something like this, if that will be the case refer to Apache JMeter Functions - An Introduction article to learn how to use JMeter Functions for on-the-fly data manipulations
Upvotes: 1