Using JMeter, I want to check the page. After filling out and submitting the form, it is inserted into the database (adding a new trip).
Path: /ProjectName/admin/addTrip.html
Method: POST
Parameters:
basePrice 500.0
hotelId 2
description Some text
The main problem is that the page is accessible after logging in. And I don't know how to log in j_spring_security_checkusing JMeter.
I tried using Login Config Element as a parent HTTP Requeston the addTrip page. As a result, View Result Tree -> Response dataI get the login form. Of course, this is not the expected result.
Then I tried to use HTTP Requestto enter the page.
Path: /ProjectName/j_spring_security_check
Method: POST
Parameters:
j_password mypassword
j_login mylogin
. View Result Tree -> Response data ( ).
HTTP Request addTrip. , - . AddTrip .