I am very new to Jmeter. In my application I have two scenarios.
- 1. Create: Here we book a hotel room. After booking application returns a transaction ID.
- 2. Cancel: We need to pass the transaction Id to the application to cancel booking.
I want to test with jmeter in such a way that after a create call is made, the cancel call of the respective create is called with the generated transaction ID automatically.
Don't have any clue how to do this. Application is written using spring, REST web service. There is one BeanShell Preprocessor in my existing .jmx file. Using that jmx file I call the create & cancel service individually.