GRPC Testing with K6
Jamie Macdonald
9:20:56
Description
Provide confidence through repeatable automated tests
What You'll Learn?
- How to tests gRPC Web-Services using K6.
- How to Automate gRPC Web & Micro Services using k6
- How to use the specific proto type "any" and "oneof" in our k6 tests.
- How to create a framework to host all of your k6 gRPC tests.
- Automate your k6 gRPC tests using Kubernetes cron job?
- Automate your gRPC tests using Jenkins.
- Take a deep dive into how spike, load, soak and smoke test run inside of gRPC
- Start bullet proofing your tests so that you capture all exceptions, not surfaced by K6 and bring them back into the K6 fold
- Learn how to share a single gRPC connection over all iterations of a spike test
- Learn how to share a single gRPC connection per user over a spike test
- Learn how to data drive your smoke tests
- Learn how to randomise your parameters in within a spike test
- Learn the theory of why having an automated process for smoke testing your gRPC test affords confidence, repeatability amongst other great benefits.
- Learn how to run your gRPC test as background tasks, so that you can maximise performance of your tests
Who is this for?
More details
DescriptionIn this course we take a look at what K6 has to offer the world of automation for gRPC tests. I also explore other technologies that we can use to enhance this product into a framework that we can use to add more functionality to our arsenal.Â
What do you want from a gRPC test framework?:
A counter of successes and failures, with a no colour option.Â
Negative and positive test pass as intended.
Exit framework on first tests failure.
Dependant gRPC requests shown as part of your system
Data driven gRPC tests
The ability to run your gRPC framework on Kubernetes or Jenkins.
The ability to run our gRPC tests in parallel background tasks
The ability pin point exact errors on gRPC status code.
The ability to stage calls, so that interdependencies are maintained.
What do you want from your scaled up gRPC performance tests?:
The ability to have reliable tests that will report all errors and in turn give a true representation of your gRPC reliability.
The ability make these test simulate randomness of data input.
The option to share connection on a per user basis or over all iterations.
Self recovering tests that try to recover on failure
What do you want from your gRPC Micro Services?:
The ability to have confidence that a change has not broken anything.
The ability to say to managers in a matter of minutes that it works as it should.
the ability to work efficiently and independently from the consuming/producing team.
The ability to run tests as part of your CI/CD system
The ability to run tests at a scheduled time of day.
If the answer is yes to any of the above then this is the course for you. Also look a the rarer proto types such as "any" and "typeOf".
Who this course is for:
- Beginner to Expert developer and anything in between.
- Test Automation Engineers
- Software Engineers
In this course we take a look at what K6 has to offer the world of automation for gRPC tests. I also explore other technologies that we can use to enhance this product into a framework that we can use to add more functionality to our arsenal.Â
What do you want from a gRPC test framework?:
A counter of successes and failures, with a no colour option.Â
Negative and positive test pass as intended.
Exit framework on first tests failure.
Dependant gRPC requests shown as part of your system
Data driven gRPC tests
The ability to run your gRPC framework on Kubernetes or Jenkins.
The ability to run our gRPC tests in parallel background tasks
The ability pin point exact errors on gRPC status code.
The ability to stage calls, so that interdependencies are maintained.
What do you want from your scaled up gRPC performance tests?:
The ability to have reliable tests that will report all errors and in turn give a true representation of your gRPC reliability.
The ability make these test simulate randomness of data input.
The option to share connection on a per user basis or over all iterations.
Self recovering tests that try to recover on failure
What do you want from your gRPC Micro Services?:
The ability to have confidence that a change has not broken anything.
The ability to say to managers in a matter of minutes that it works as it should.
the ability to work efficiently and independently from the consuming/producing team.
The ability to run tests as part of your CI/CD system
The ability to run tests at a scheduled time of day.
If the answer is yes to any of the above then this is the course for you. Also look a the rarer proto types such as "any" and "typeOf".
Who this course is for:
- Beginner to Expert developer and anything in between.
- Test Automation Engineers
- Software Engineers
User Reviews
Rating
Jamie Macdonald
Instructor's Courses
Udemy
View courses Udemy- language english
- Training sessions 34
- duration 9:20:56
- Release Date 2023/03/09