Question - I’m looking for a way to test how fast our queuing service reacts to completing a transaction.
Background - We are moving from AWS to OnPrem environment. I want to get a baseline of AWS UAT vs OnPrem UAT environments by performing a transaction that reacts with a service handler which engages AWS SQS queuing service.
So essentially create a new customer, which uses a certain service handler which reacts with the queuing service. Queuing service completes the request and in turn creates the customer. The queuing service we use is SQS (simple queuing service) for both AWS and OnPrem.
I wanted to perform that using the K6 recorder. Extract the code from app.k6.io - Performance testing for developers, like unit-testing, for performance. Paste in to VSC. Then refactor the code a bit.
In steps, here’s what I mean - from the web site UI: navigate to the customer creation page → start the k6 recorder->click the button to start the customer creation process (which is one form-fill with one line to add customer name) → click the “Add” button-> the service handler tells SQS (in AWS land) to put that request in queue->Request gets processed-> from the UI page automatically refreshes with the new customer newly created. Stop the K6 recorder.