Karate – API Performance -Testing Made Simple.

preview_player
Показать описание
#ApiPerformance

Content:
Karate-Gatling - Brief introduction on how to use for performance testing

Steps
Create a feature file with a scenario
A simple karate test

Create a simulation class in scala
Which karate feature needs to be run
How many users need to be ramped up in a specified time
Edit pom
Add dependencies required for Gatling
Add plugins and define plugin goal

Link to my code repo on Git hub

Link to Karate Project on GitHub:

Description from GitHub
Karate enables you to script a sequence of calls to any kind of web-service and assert that the responses are as expected.
This video is just a quick-start to get you up and running with Karate in few minutes.

Credits:
Big thanks to Peter Thomas for creating a tester friendly tool.

Music: Courtesy YouTube free music for video creation - Mysteries

Links / References:

Sample Project:
Рекомендации по теме
Комментарии
Автор

Very helpful video, i could run perf test on my current features easily after following it. Thanks a lot man! Keep uploading good stuff like this :)

prakharkapoor
Автор

Thanks a lot, this is quite helpful :)

anaswaras
Автор

could you please make a video on mocking using karate

umamaheshbhaskara
Автор

Hi Kalimoh, I was trying to replicate this using IntelliJ IDE, but I'm having problem with the scala class, the IDE does not reconize neither this file extension nor the scripts lines in it. I installed scala plugin and restarted the IDE but the problem remains. I'm using ItelliJ community with JDK 14. Could you please help me with that?

caminero
Автор

I am seeing an error after following these steps.
Can you please help me with that?

error :
Failed to execute goal (default-cli) on project karateBlog: No simulations to run ->

playboy
Автор

How do you run this test in flood.io i.e cloud based solution for running gatling tests. Did anyone try? If so can you give example?

deepkond