-1

Regular expressionRequest here I am trying to pass payment id from request to response

Request Body

0

Change to simpler regex notice the " at the end:

 ID=(.+?)"
  • Still same issue.can you help me on this – syed Jul 29 at 12:43
0
  1. Your Regular Expression Extractor scope is not correct, you should be extracting the value from the document Body
  2. You need to escape this ? between htm and PaymentID as question mark is a meta character and it must be escaped unless it is in group or in class

Suggested configuration:

enter image description here

If you're not too comfortable with regular expressions you could go for Boundary Extractor instead, in particular this case it would be much easier.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.