Gatling Tutorial for Beginners - Scripting Fundamentals
Vložit
- čas přidán 23. 08. 2024
- A full Gatling tutorial for beginners. Teaches the fundamentals of Gatling script creation.
Topics cover includes:
- Adding pause time
- Checking HTTP response codes
- Using JSON Path
- Correlation
- Session variables
- Code reuse and looping
The sample application used in this tutorial is available on Github: github.com/jam...
For more Gatling tutorials, check out my website: www.james-will...
Hi James, thanks for sharing such great content regarding Gatling. It's very informative and practical training! When I'm trying to run the api app with Maven, the build is failing with this error: Unknown lifecycle phase "spring-boot". You must specify a valid lifecycle phase or a goal in the format : or :[:]:.
Hi James, Thanks for the great content. Can you point me to the section where you setup the project?
Thanks Tanzeem - check out my content here for help setting up the project - www.james-willett.com/gatling-load-testing-complete-guide/#3-gatling-project-setup
Hi james,
could you show us how to code pre-request script (java script) in scala gatling
Where did you set the Endpoint? I missed that part :/
BaseSimulation code can you show
something like this - github.com/james-willett/gatling-fundamentals/blob/master/src/gatling/scala/baseConfig/BaseSimulation.scala
Hey James,
Could you please mention do i need to install scala for this?
Best to install Scala yourself, version 2,12.8 works well I find
@@james-willett Thanks. I am not getting any idea about the basicConfig file. What do I need to configure in that? Could you please shed some light on that.
@@munnisahu3266 I'm just abstracting some of the script away into that file - its optional to use it, you could just include everything in a single file / script
@@james-willett Thanks :)