create a JMeter https request with credentials (username and password) -
i want create https request server requires username , password. can provide credentials? couldn't find option in jmeter ui
to set jmeter access https url:
create http request defaults server name.
set implementation httpclient3.1 (it didnt work me otherwise) set protocol https
create http request login
i used spring security, set path /j_spring_security_check
set method post
in parameters section, add params need log in in section called send parameters request. in case had send username , password param defined in login form.
finally add response assertion search text response. here checked full display name of logged in person, since shows in response.
if want save cookie might want create http cookie manager thread group
i followed doc: http://jmeter.apache.org/usermanual/build-web-test-plan.html
Comments
Post a Comment