I need to extract a value from http response which is in the format "test/23|temp value" and need to pass it in next request string body as "test%2F%7Ctemp+value" I believe we are doing some form of encoding. how can we achieve this in JMeter ? Appreciate if any one can help.
Asked
Active
Viewed 19 times
1 Answers
0
Take a look at __urlencode() function
${__urlencode(test/23|temp value)}
it does percent-encoding of the input and returns the result in the place where it's called in the runtime:
More information on JMeter Functions concept: Apache JMeter Functions - An Introduction

Dmitri T
- 159,985
- 5
- 83
- 133