gatling
gatling copied to clipboard
Modern Load Testing as Code
We could consider adding some random generator functions to Gatling Expression Language, such as: * random numbers (int, long), possibly with a range * random UUUI * random alphanum Strings...
https://github.com/gatling/gatling/issues/4305 ``` "#{randomNumber(10)}" "#{randomNumber(5,10)}" "#{randomNumber(5, max)}" "#{randomNumber(5, maxL)}" "#{randomAlphanum(5)}" "${UUID()}" ```
https://github.com/gatling/gatling/issues/4306 *** Example Code: ```scala val wsCheckCompleted = ws .checkTextMessage("Ws check [completed]") .matching(regex("COMPLETED")) val wsSendText = ws("Ws send text") .sendText("""{"auth":{"token":"blabla"}}""") .await(30 seconds)(wsCheckCompleted) ``` Logs: ``` 14:01:14.607 [DEBUG] i.g.h.a.w.WsLogger$ - Request...
Changes made on all findings except [GatlingHomePage.html ](gatling-core/src/test/resources/GatlingHomePage.html) I think this html need full refactor.
JDK: 17 Repository: [gatling-maven-plugin-demo-java](https://github.com/gatling/gatling-maven-plugin-demo-java) Class: [IDEPathHelper](https://github.com/gatling/gatling-maven-plugin-demo-java/blob/main/src/test/java/IDEPathHelper.java) ![image](https://user-images.githubusercontent.com/30750006/183509660-7c6dcae9-e244-4b07-917a-ab4714869cf1.png) Example of NPE: ![image](https://user-images.githubusercontent.com/30750006/183510131-38e42dce-81ee-44c7-a30d-eadc7592613c.png)
Example: ![image](https://user-images.githubusercontent.com/30750006/183517695-30b48818-d17e-4955-a9b8-007a4d29968d.png)
**Problem**: Currently, WebSocket logs don't contain context information (Session attributes, etc). No ability also to separate logs on failed requests like in HTTP module when we can set up different...
- added missing Copyright, - moved HttpProtocolBuilder to top of class, - little changes in code.
**Contents** This pull request contains the implementation of a revised `TcpSender` used for sending statistics to Graphite. This revised version implements NACK-based write back-pressure with suspending, providing more reliability and...
I have kafka plugin Method with Expression arguments https://github.com/Tinkoff/gatling-kafka-plugin/blob/c248bbe48a6350692e7deba6035657f45b2be983/src/main/scala/ru/tinkoff/gatling/kafka/request/builder/Sender.scala#L34 When I up-to-date gatling version to 3.8.2 i get error https://github.com/Tinkoff/gatling-kafka-plugin/runs/7410371792?check_suite_focus=true#step:4:38 ``` [error] /home/runner/work/gatling-kafka-plugin/gatling-kafka-plugin/src/test/scala/ru/tinkoff/gatling/kafka/examples/Avro4sSimulation.scala:63:35: type mismatch; [error] found : String("Key") [error]...