简体   繁体   English

简单的Apache jmeter测试

[英]simple Apache jmeter test

I have a very simple test case. 我有一个非常简单的测试用例。 I want to login and logout of a php application (SugarCRM) multiple times. 我想多次登录和注销php应用程序(SugarCRM)。 I have successfully carried out a couple of basic tests but I don't seem to get the hang of it. 我已经成功地进行了一些基本测试,但似乎没有把握。 A short tutorial or a link to carry out the above will surely be sufficient. 简短的教程或链接即可完成上述操作。 Thanks for reading. 谢谢阅读。

I believe that ASP.NET Login Testing with JMeter guide will provide comprehensive information on how to properly perform your testing. 我相信使用JMeter进行ASP.NET登录测试指南将提供有关如何正确执行测试的全面信息。 It shouldn't be any difference for any other backend technology stack (Java, PHP, Ruby, etc.) as JMeter is acting on protocol level and doesn't care about underlying implementation software for application under test and correlation and cookie management is standard for all web applications. 对于其他任何后端技术堆栈(Java,PHP,Ruby等)来说,这应该没有什么区别,因为JMeter在协议级别上起作用,并且不关心测试中的应用程序的底层实现软件以及相关性,并且cookie管理是标准的适用于所有Web应用程序。

if you want to do multiple times then try to use CSV Data config and import data from csv to login multiple times. 如果要执行多次,请尝试使用CSV数据配置并从csv导入数据以多次登录。

Create a CSV file with un & pwd for multiple users and try to run the script. 使用un&pwd为多个用户创建CSV文件,然后尝试运行脚本。 Remember the number of threads you give should be equal to the no. 请记住,您给出的线程数应等于no。 of users, so that it will login multiple times 的用户数,以便它将多次登录

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM