I want to write a doIf block which checks if either “studentPersonalRefId” OR “teacherAssignmentRefId” are null. If so, output a message that something is null. Otherwise, continue with the “getCanvasAssignments” requests: Is something similar to this possible? Answer
Tag: gatling
Gatling Parameter value is getting Print in some unknown format
I am running below Script which is running fine in Gatling However its printing in format of some(value) and I am not getting why.it should print like 123456 but its printing some(123456) Answer session.attributes.get(“user_id”).toString You should be using the Session API correctly, please check the documentation.
How do I have to format my feeder csv file, to inject a list of string elements into my JSON request in Gatling?
I am having trouble adding a list of string id’s to my JSON request body! I tried many different formatting styles … but could not figure out how to get this to work in Gatling, using the JavaDSL. this is one of my csv formatting attempts to represent a list: here the code to feed my csv data into the
Gatling constant concurrent users request per second
I am running gatling script to measure my api performance. Below is the configuration which ramps up the user from 0 to 100 and eventually reaches 400 . Is is true to say in last step constantConcurrentUsers(400) 400 request called per second . Is below script calling 400 request/sec in last step ? Answer Absolutely not. Please read the documentation
Gatling JMS scenario does not terminate
I am trying to loadtest a simple request/reply scenario over a rabbitmq broker. This scenario sends a simple text message to the defined queue and then wait on the defined replyQueue for an answer. On the other side of the request queue is simple message listener that reads the JMSReplyTo field and sends a message to that destination. In the
How to run a gatling test from a java code and pass the url of test in parameters of simulation?
I want to be able to pass parameters to a Gatling Simulation from a java code and specially the url of test. I use Gatling with maven method. Someone help me please. Answer one way would be: for example, i need to pass the URL under the test http://127.0.0.1:5000 to pick this variable in scala code: and to utilize this