Special character in JSON payload not processed successfully when running the script in JMeter -
when trying process json message contains special character " ®" registered trademark symbol, failed error when trying in jmeter. same payload working expected in other tools postman etc. please advise on how fix issue in jmeter.
error: { "code": 400, "errors": [ { "key": "messages", "message": "unable translate bytes [ae] @ index 901 specified code page unicode." } ] }
thanks bharath
i cannot reproduce issue, wrong jmeter configuration, i.e. try setting file.encoding
, client.encoding.override
jvm system properties utf-8
you can set aforementioned properties in system.properties file (located in jmeter's "bin" folder), jmeter restart required pick properties up.
also given can execute same request using postman can record jmeter's http(s) test script recorder.
- configure jmeter recording using jmeter templates feature (from jmeter's main menu choose
file -> templates -> recording -> create
, start http(s) test script recorder configure postman recording. in order set using jmeter proxy launch
--proxy-server
option like:c:\users\your_user_name_here\appdata\local\postman\app-x.x.x\postman.exe --proxy-server=localhost:8888
see how configure postman native client app use external proxy more information.
Comments
Post a Comment