Jmeter - regex expression for variable in script
I m using Jmeter for Performance Testing and facing issue with extracting the variable using REGEX extractor.
clientKey = clientKey || "123844275807432328";
I used teh regex - \clientKey \ || \ (.+\d) to extract the client key
But, this is not working as it is returning null as value of expression.
Can anybody please help me ?
Re: Jmeter - regex expression for variable in script
You can try with this regular expression:
clientKey \|\| "(\d*)"
To test regular expressions you can use this web:
I hope it helps