Gatling Tutorial for Beginners - Scripting Fundamentals

Sdílet
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...

Komentáře • 13

  • @kurmiyadla8729
    @kurmiyadla8729 Před 4 lety

    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 :[:]:.

  • @tanzeemahmed9774
    @tanzeemahmed9774 Před 4 lety +2

    Hi James, Thanks for the great content. Can you point me to the section where you setup the project?

    • @james-willett
      @james-willett  Před 4 lety

      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

  • @gulshanthakur2994
    @gulshanthakur2994 Před 3 lety

    Hi james,
    could you show us how to code pre-request script (java script) in scala gatling

  • @KevinRamirez-qn5si
    @KevinRamirez-qn5si Před 3 lety

    Where did you set the Endpoint? I missed that part :/

  • @T1Te12Tes123Test1234
    @T1Te12Tes123Test1234 Před 4 lety +1

    BaseSimulation code can you show

    • @james-willett
      @james-willett  Před 4 lety

      something like this - github.com/james-willett/gatling-fundamentals/blob/master/src/gatling/scala/baseConfig/BaseSimulation.scala

  • @munnisahu3266
    @munnisahu3266 Před 4 lety

    Hey James,
    Could you please mention do i need to install scala for this?

    • @james-willett
      @james-willett  Před 4 lety

      Best to install Scala yourself, version 2,12.8 works well I find

    • @munnisahu3266
      @munnisahu3266 Před 4 lety

      @@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.

    • @james-willett
      @james-willett  Před 4 lety

      @@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

    • @munnisahu3266
      @munnisahu3266 Před 4 lety

      @@james-willett Thanks :)