Gülsen Keskin
Gülsen Keskin

Reputation: 810

How to throw an Apache JMeter keyless token into a variable?

enter image description here

this works, but how can I ignore the quotation marks in the form of my token "token" enter image description here

i don't want him to get the quotation marks

Upvotes: 0

Views: 37

Answers (3)

Dmitri T
Dmitri T

Reputation: 168122

You need to provide the Template and specify the capturing group (in your case it will be 1)

enter image description here

More information:

Upvotes: 1

Gülsen Keskin
Gülsen Keskin

Reputation: 810

working in this way. maybe you will need it!

enter image description here

Upvotes: 0

Ori Marko
Ori Marko

Reputation: 58822

I would use Boundary Extractor

Put Left and Right Boundary as " and you will get the value

Allows the user to extract values from a server response using left and right boundaries. As a post-processor, this element will execute after each Sample request in its scope, testing the boundaries, extracting the requested values, generate the template string, and store the result into the given variable name

Upvotes: 1

Related Questions