Software performance testing – How to do it ? [3]

In the previous parts about Software Performance Testing, we saw what it is and why it’s important to do it.

Today, we will start to talk about something more practical about performance testing : How to do it ?

1/ Before to do it

Norma…


This content originally appeared on DEV Community and was authored by Maxime Guilbert

In the previous parts about Software Performance Testing, we saw what it is and why it's important to do it.

Today, we will start to talk about something more practical about performance testing : How to do it ?

1/ Before to do it

Normally, it's something which is done during the design, but be sure that all the apis you call can support your trafic in all the environment. Maybe some services don't have the same resources in non production to decrease costs.

So be sure, everything is ok with all the other services.

2/ Ways to do it

To do your performance testing, I precognize to first do a test of your service with mocks to only check your service, then do your test with all the other services.

Why? Just because if your service can't support the desired volume, it won't help anything to do it with all the other services.

If you are confident, you can directly do it with all the other services.

In both cases, if a bottleneck appears you will have to explore your logs and monitors to understand what happend.

3/ Testing

To test your api, the easiest way is to use a dedicated tool like JMeter or Gatling.

Both of this services are open-source and can be use with Java. If you know Scala, you can use Gatling using it.

Personally, I recommand Gatling. I used both of them. Gatling is really easy to use, to build scenarios and it uses less resources.

If you don't know these tools, you can check online there are a lot of tutorials to learn how to use it.

JMeter



Gatling


Then congrats! Your services are ready to go in production with lot more reliability! 🚀

I hope this mini-serie helped you! 🍺


This content originally appeared on DEV Community and was authored by Maxime Guilbert


Print Share Comment Cite Upload Translate Updates
APA

Maxime Guilbert | Sciencx (2022-04-19T15:05:16+00:00) Software performance testing – How to do it ? [3]. Retrieved from https://www.scien.cx/2022/04/19/software-performance-testing-how-to-do-it-3/

MLA
" » Software performance testing – How to do it ? [3]." Maxime Guilbert | Sciencx - Tuesday April 19, 2022, https://www.scien.cx/2022/04/19/software-performance-testing-how-to-do-it-3/
HARVARD
Maxime Guilbert | Sciencx Tuesday April 19, 2022 » Software performance testing – How to do it ? [3]., viewed ,<https://www.scien.cx/2022/04/19/software-performance-testing-how-to-do-it-3/>
VANCOUVER
Maxime Guilbert | Sciencx - » Software performance testing – How to do it ? [3]. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/04/19/software-performance-testing-how-to-do-it-3/
CHICAGO
" » Software performance testing – How to do it ? [3]." Maxime Guilbert | Sciencx - Accessed . https://www.scien.cx/2022/04/19/software-performance-testing-how-to-do-it-3/
IEEE
" » Software performance testing – How to do it ? [3]." Maxime Guilbert | Sciencx [Online]. Available: https://www.scien.cx/2022/04/19/software-performance-testing-how-to-do-it-3/. [Accessed: ]
rf:citation
» Software performance testing – How to do it ? [3] | Maxime Guilbert | Sciencx | https://www.scien.cx/2022/04/19/software-performance-testing-how-to-do-it-3/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.