Jmeter load testing with multiple user credentials and form filling

这一生的挚爱 提交于 2020-06-29 05:24:07

问题


I am new in jmeter and I am doing r&nd on Jmeter. I have a scenario can you help me regarding this.

1.I have one login form and one details form. User can first do login and then he can fill details form. 
2.I want to test this steps through jmeter. 
3.But, I want to test multiple user can login together and can fill details form together at the same time. 
4.So how can I pass both login and details csv at the same time In jmeter.

Please guide me. If any video or blog please share.


回答1:


  1. If you have 2 CSV files, one with credentials, other with the form data - just use 2 CSV Data Set Config elements and point them to different files
  2. If you have more than 2 CSV files, i.e. first file has credentials and the name of the CSV file with details for each particular user, you won't be able to use 2nd CSV Data Set Config, you will have to go for __CSVRead() function like it's described in How to Pick Different CSV Files at JMeter Runtime article


来源:https://stackoverflow.com/questions/62296025/jmeter-load-testing-with-multiple-user-credentials-and-form-filling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!