Challenge Overview
Welcome to the IBM Castle - JMeter Docker Load Test Proof of Concept Challenge
The goal of this challenge is to setup a docker image/file that allow/run testing plan using JMeter to load test the endpoints provided to us to make sure they can handle the number of users we are expecting on our system.
You only required to create a single thread group to load test with maxium number of users ~100. Your solution should be expandable to build upon it (add more thrad groups and api endpoints).
To summarize what we are looking for:
- - A basic docker setup to run load test, and to expand upon it in a subsequent challenge.
- - A recommendation on how best to approach testing this way, ie: above, generating different email messages to send, or inserting multiple email addresses as recipients
- - Steps to actually run the load test against the api.
API Endpoints
1. Login
POST https://tcdomino.projectcastle.io/api/login
Raw body:
{"username": "Aglovale de Galis", "password": "Round1017Table"}
Get back the JWT and use it for this subsequent call.
2. Crate Message (Pass the JWT as the Authorization Bearer Token)
POST https://tcdomino.projectcastle.io/api/messages
Raw Body:
{
"sendto": "peter@pan.com",
"subject": "Sample eMail",
"message": "<h1>Big Headline</h1><p>Some text</b>"
}
JMeter Dockor Image
You can use this dockor contains https://hub.docker.com/r/hauptmedia/jmeter/ or something like it.
Final Submission Guidelines
Your submission must include:
- - A Docker file of a JMeter instance setup
- - Documentation to set up and run the test server against the API
- - A list of any restrictions of this test scenario
This challenge is relatively subjective. Your submission will be rated on:
- - Clarity of your documentation
- - Ease of expansion across the whole API