Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Gatling test scripts

Given that the Atlassian recommends Gatling, should not exist a few examples to help start up. Am I that did not find or do not even exist?

It should be a great start for those (like me) that are starting to mesure the performance. 


2 answers

I agree with you Jose, especially since no HW recommendations (aside from bare minimums) are provided by Atlassian.

The Gatling documentation itself is rather thin. It's an excellent tool but the syntax can be cumbersome given the amount of examples available. If it helps, here's a very simple Browse Scenario I am using. Update/change the values according to your environment:


package default
import scala.concurrent.duration._
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._
import scala.util.Random
class Confluence extends Simulation {

        val httpProtocol = http
                .acceptHeader("application/json, text/javascript, */*; q=0.01")
                .userAgentHeader("Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0")
        val headers_0 = Map(
                "Accept" -> "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
                "Accept-Encoding" -> "gzip, deflate")
    object Browse {
    val feeder = sitemap("/path/to/sitemap.xml")
    val Browse = exec(http("Home") // Name displayed in the reports
                .exec(http("RandomPage") // Provided by the feeder from the sitemap
val scn = scenario("CONFLUENCE").exec(Browse.browse) // Execute the objects you want
setUp(scn.inject(rampUsers(200) over (30 seconds))).protocols(httpProtocol)

I understand if you can't or don't want to but I would really appreciate it if you could post a slightly more complete example. I understand Gatling want to sell consulting and I know it's an opensource project but that documentation is just shy of insulting.

Showing how to use log in and use check would be useful

Gatling is an wonderful tool and I started working on this from past few weeks. Can you please share some Gatling simulation examples 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Jira issue check and more advanced commit verifications for Bitbucket DC

Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....

24 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you