Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以基于布尔值创建自定义断言?像这样的东西:
setUp(scn.inject(rampUsers(7) over (1 minutes))).protocols(httpProtocol). assertions( assert(/*method that returns boolean value*/), /*other assertions*/ )
谢谢!
加特林有一个检查的概念。这允许您验证响应是否包含某些元素。
https://gatling.io/docs/2.3/http/http_check/