Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
4 replies
Answers
1 answer
Subscribers
10 subscribers
Views
7138 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi All we are doing Performance testing using Jmeter for Apian. While running the script we are getting the Error "400-Bad request".
umamaheshk0001
over 7 years ago
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
Top Replies
Jim Schweitzer
over 7 years ago
+1
suggested
Certified Lead Developer
Your saveInto is invalid. This value is dynamic and must be extracted from a previous reponse
sagarl511
over 7 years ago
+1
A Score Level 2
@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…
Parents
0
sagarl511
A Score Level 2
over 7 years ago
@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
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sagarl511
A Score Level 2
over 7 years ago
@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
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data