perl - extracting UUID from response in jmeter -
i using jmeter simulate multiple users upload file server used badboy record script , export jmeter upload file need uuid responded server can use rest of http request have tried use regular expression extractor using expression
${uuid} = \s*
but did not work used uuid function generate random uuid not configure in way make request repeated until match uuid have been returned server 1 can me?
for extracting uuid you'll need configure regular expression extractor post processor follows:
- reference name: meaningful, i.e. uuid
- regular expression: version 4 uuid ([a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aabb][a-f0-9]{3}-[a-f0-9]{12})
- template: $1$
you can test regular expression against returned data using view results tree listener (select regexp tester dropdown)
for more information refer using regex (regular expression extractor) jmeter guide.
Comments
Post a Comment