-4

How to solve illegal path error created due to a "comma"

same rest url displays in webpage but in jmeter throws illegal path error

java.net.URISyntaxException: Illegal character in path at index 112:

pokepoke
  • 15
  • 1
  • 7

1 Answers1

2

URL paths containing special signs need to be encoded. So your best option is to encode whole path and ensure yourself that no exceptions like that one will be thrown.

There are many ways to achieve this. For example, you could use JMeter function or do it manually in one Beanshell Pre-processor.

Iske
  • 1,150
  • 9
  • 18
  • It is for sure, but it depends how do you want to achieve this and for what reason. – Iske Aug 17 '16 at 12:26