Hi All we are doing Performance testing using Jmeter for Apian. While running the script we are getting the Error "400-Bad request".

Hi All we are doing Performance testing using Jmeter for Apian. While running the script we are getting the Error "400-Bad request". Below is the request. Can anybody suggest on the same. In Jmeter we are sending the below request: POST data: {"context":{"#v":"jA0EAwMCkhcXrOkREngB0sAeAflqNgkoyFSvXmzEZxEbfO2rIY1x9xIvCOsZmKz2ZZvP4K/B60Ug\r\nlhGVc9jZBiLGQnlfEXh7up7mKM5PeIGmzt6xZ1zn0DvP0xtKRB+fQMU7sM4mFlsf8wOHIS8dMaOI\r\ntOrgAu4ql25K59RI5VpQyHGjXSBGV5wkrfHu3vYxb0uZOAPOHHfLODMtnpHp5BOurF9x2xdlWV/Y\r\nv6BI1VBfD86GJdipYBhuV/59wbgxoiG6pObIck1dbpUFESw94ryzT8S6wXiFU1wAnGRe9RK2AkY4\r\n6gRb7FjrAhpzLZdK\r\n", "#t":"string"}, "updates":{"#v":[{"saveInto":["<>"], "value":{"#v":2, "#t":"int"}}], "#t":"SaveRequest?list"}, "uuid":"c0edaf2d-941a-4bc4-afca-96c9cfdce38b", "#t":"UiConfig"}

  Discussion posts and replies are publicly visible

Parents
  • @umamaheshk0001 - As you can see that two parameters are passed in request - context and saveInto. Values for both these parameters are encrypted and will change after every request or user interaction. Once Jmeter records and creates the script parameters value are stored as the ones while generating the JMeter script. So get the values of above parameters you have to parse previous request response which will have context and saveInto of component which will be targeted in next request/interaction. Response will be JSON and can be parsed using JSON extractor plugin of Jmeter. To understand how context is sent see following url - docs.appian.com/.../SAIL_Performance.html
Reply
  • @umamaheshk0001 - As you can see that two parameters are passed in request - context and saveInto. Values for both these parameters are encrypted and will change after every request or user interaction. Once Jmeter records and creates the script parameters value are stored as the ones while generating the JMeter script. So get the values of above parameters you have to parse previous request response which will have context and saveInto of component which will be targeted in next request/interaction. Response will be JSON and can be parsed using JSON extractor plugin of Jmeter. To understand how context is sent see following url - docs.appian.com/.../SAIL_Performance.html
Children
No Data