Web service, mock and performance tools
Learn the tools that call, fake and load a web service. They cover Postman, WireMock, k6, JMeter and Lighthouse.
- Postman from zero: install, send a request and read the answerInstall Postman, send your first request to a practice address, and learn to read the status code, the headers and the body of the answer, so any API check starts…
- Postman requests in depth: headers, JSON bodies and signing inSend a post request with a JSON body, set headers, send a sign-in token, and read the exact request Postman sent, so you can reach protected parts of an API.
- Postman tests: check the answer, keep values in variables and chain requestsTurn a request into a check that passes or fails by itself. Write a few simple tests, save a value such as a token in a variable, and use it in the next request.
- ZAP (Zed Attack Proxy) from zero: a first safe scan of a test site you ownLearn what Zed Attack Proxy does, run a first safe baseline scan on a test site you own, and read its alerts.
- JMeter step by step: correlation, data files and command-line runsMake a JMeter test behave like real users: capture a changing value such as a token and reuse it, feed each virtual user its own data, and run the test from the c…
- REST (Representational State Transfer) Assured: sign in, chain two calls and reuse a specificationAdd authentication to a REST (web-service style) Assured test, take a value from one answer to use in the next call, and put shared settings in a reusable specification.
- JMeter from zero: install, tour the window and record a first scriptInstall Java and JMeter, start the window, learn the main parts of a test plan, and record a browser session into a first plan that you can then clean up and run.
- Postman at scale: the collection runner, data files and monitorsRun a whole collection at once, feed it a data file so it repeats for many inputs, schedule it as a monitor and know when to run it from the command line instead.
- DevTools part 4: Lighthouse and the Performance panel for page speedRun Lighthouse on a page, read the main speed numbers, record a page load in the Performance panel, and write a performance bug with numbers that a developer can …
- JMeter results: percentiles, error rate, throughput and the HTML reportTurn a results file into the report dashboard, read the percentiles, error rate and throughput, and say in plain words whether a system met its target.
- Rest Assured set-up: Java, Maven, dependencies and a first test that runsSet up a Java project with Maven, add REST (web-service style) Assured and a test framework, and run a first test, ready for authentication and chaining.
- Postman: organise collections with folders, import a request from curl, and set values in a pre-request scriptGroup requests in folders, turn a curl command into a Postman request, and set a value in a script that runs before the request is sent.
- k6 part 1: install k6, write your first script and read the summaryInstall k6, write a ten-line script with a check and a pause, run it with a small crowd of pretend users, and read the table k6 prints at the end.
- k6 part 2: checks, thresholds and stages, with p(95) read the right wayTurn a plain run into a pass or fail test with limits, ramp the crowd up and down in stages, and read the 95th percentile of the request time.
- WireMock part 1: run it and write a first stubStart WireMock on your own machine, save one mapping file with a request and a response, and call it with curl to see the answer you wrote.
- WireMock part 2: match requests and shape slow and broken answersChoose which calls a stub answers, set the status, the delay and a fault, and make a stub change its answer after a first call.
- WireMock part 3: check what the app sent and read the request journalAsk WireMock what was called, count the calls, and find the calls that no stub matched, so you test what your app sent and not only what it received.