Since we have seen that after 200,000 users subscribing and 60,000 of them using one of our other Apps, there is an slow-down on the request/response flow to the other API, which roughly had the same setup.So, in order to not miss the opportunity of (load) testing before customers coming in, we decided to investigate ways to load test our API. We were able to produce load test from one server and analyze the results. TLS features: client certificates, configurable SSL/TLS versions and ciphers 6.
k6 is an open-source load testing tool and cloud service providing the best developer experience for API performance testing. The k6 API and CLI are easy-to-use, flexible and powerful.Write tests in Javascript that mimic real-world scenarios.Automate your tests to ensure that your infrastructure and application remain performant.Configure SLOs in your k6 script to test the health of your services.Create tests faster with our browser recorder and converters (JMeter, Postman, Swagger).Extensive documentation, awesome community and first class support.No XML. I will try to write more advanced load testing articles to show you how to load test your website and/or API.This series will continue with more in-depth performance/load testing articles assuming the readers don’t have previous experience on this topic.As always, I do really appreciate your suggestions, comments and inputs on this. We have set up our CI/CD process using docker and hosted GitLab and used GitLab CI to deal with CI process. HTTP/1.1, HTTP/2 and WebSocket protocol support 5. You are not alone in that. Automation-friendly: checks (like asserts) and thresholds for easy and flexible CI configuration! We thought it would be a good candidate for this purpose. Then you should analyze the weak points in your design or setup to see how you can benefit from high load.There are many types of tests catered for different purposes in performance testing (Source: The most common purpose of performance testing is to find out how reliable, stable, performant and responsive the system is. k6 is a development-oriented, open source load testing tool for making load and performance testing scripts and testing web pages. It’s all about expectations. Scripting in ES6 JS: support for modules to aid code reusability across an organization 2.
Everything as code: test logic and configuration options are both in JS for version control friendliness 3. 4. For example, you expect your API or website to serve 10K users simultaneously, but when you put pressure on it, it quickly becomes evident that your calculations differs from the reality and the reverse proves to be the case. It is a feature-rich and easy to use CLI tool with test cases written in ES5.1 JavaScript and support for HTTP/1.1, HTTP/2, and WebSocket protocols. Nowadays, it has been improved very much and it integrates with CI/CD pipelines easily.Enough said! Just familiar scripting with ES6 JSCode-driven, JavaScript load tests that fit into our existing tool chain, clean APIs, command line so easy to automate and with a flag can run the same load test from the cloud in multiple locations. k6 is an open-source load-testing tool scriptable in JavaScript (ES6), which allows testers to have the flexibility of writing tests in an accessible language. This output will be thoroughly explained in the next articles.By interpreting the current output, you can see that the script is The total data sent and received in 2775 requests is also present. Havenât had time to blog about it but k6 came out top of multiple tools testedI've been tinkering with load testing recently and discovered