artillery_handson.txt - Create 20 virtual users every...

This preview shows page 1 - 2 out of 4 pages.

Create 20 virtual users every second on an average for 1 minutes which will perform the search for user id 3. Use reqres application as base URL and request URL. Environment Customisation: To install artillery click on the command npm install artillery now verify artillery installation using the command artillery dino Create a sample.yml in the terminal and insert the script in sample.yml using vi editor. Task reqres application should be base URL and request URL. duration should be 1 minute. virtual users should be 20 user id should be 3. config: target: '' phases: - duration: 60 arrivalRate: 20 scenarios: - flow: - get: url: "/api/users/3" artillery run sample.yml -o output.txt config: target: '' phases: - duration: 120 arrivalRate: 10 rampTo: 20 scenarios: - flow: - post: url: "/api/users" json: name: "Harley" job: "Software Engineer" artillery run test.yml -o output.txt Create 20 virtual users in 60 seconds( one every 3 seconds on average) to perform PUT request for updating name and job for id 2.
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Fall '18
  • software engineer, artillery click

{[ snackBarMessage ]}

Get FREE access by uploading your study materials

Upload your study materials now and get free access to over 25 million documents.

Upload now for FREE access Or pay now for instant access
Christopher Reinemann
"Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

Ask a question for free

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern