Hey @oleiade ,
I’ve got an anonymized version of the script that I’m happy to share, I tried to upload the file but only images are allowed, so it is below.
Any feedback is appreciated. Thanks, mto.
// Creator: Grafana k6 Browser Recorder 1.0.4
import { sleep, group } from 'k6'
import http from 'k6/http'
import { getSessionData } from './utils/k6-common.js'
// This script has been anonymized and as such, it is not expected to run successfully.
// https://community.grafana.com/t/execution-timed-out-after-120-seconds/132323/3
// ===================================
// Constants
// ===================================
const host = 'qatest-anon.com'
const protocol = 'https://'
const baseUrl = protocol + host
const baseUrlApplication = protocol + host + '/our-application'
const userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36'
const sleepInSeconds = 1 // for milliseconds, use 0.x notation eg 500ms = 0.5
const debugOutput = false
const maxVUs = 200
// Test parameters
export const options = {
discardResponseBodies: false, // will affect checking the response. If you do need the response from a specific request, then you'll need to use "responseType: 'text'" on the HTTP call.
systemTags: ['status', 'method', 'error', 'error_code'],
thresholds: {
http_req_failed: ['rate<0.01'], // http errors should be less than 1%
//http_req_duration: ['p(95)<1500'], // N% of requests should be below this value (milliseconds)
'http_req_failed{status:401}': ['rate<=0.01'],
'http_req_failed{status:403}': ['rate<=0.01'],
'http_req_failed{status:408}': ['rate<=0.01'],
'http_req_failed{status:429}': ['rate<=0.01'],
'http_req_failed{status:500}': ['rate<=0.01'],
'http_req_failed{status:503}': ['rate<=0.01'],
'http_req_failed{status:504}': ['rate<=0.01'],
},
'summaryTrendStats': ['min', 'med', 'avg', 'p(90)', 'p(95)', 'max', 'count'],
stages: [
{
duration: '60s',
target: maxVUs
},
{
duration: '1700s',
target: maxVUs
},
{
duration: '60s',
target: 0
}
]
}
export default function main() {
let response;
let data;
group(
'page_1 - ' + baseUrl + '/wd/start/test',
function () {
response = http.get(
'' + baseUrl + '/wd/start/test',
{
responseType: 'text',
headers: {
'upgrade-insecure-requests': '1',
'host': '' + host + '',
'user-agent': userAgent,
accept:
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
connection: 'keep-alive',
'sec-fetch-dest': 'document',
'sec-fetch-mode': 'navigate',
'sec-fetch-site': 'none',
'sec-fetch-user': '?1',
},
}
)
data = getSessionData(response, debugOutput);
response = http.get(
'' + baseUrl + '/wd/staticresource/main.css?id=11f67748fdca4e86',
{
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: 'text/css,*/*;q=0.1',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
connection: 'keep-alive',
referer:
'' + baseUrl + '/wd/start/test',
'sec-fetch-dest': 'style',
'sec-fetch-mode': 'no-cors',
'sec-fetch-site': 'same-origin',
},
}
)
response = http.get(
'' + baseUrl + '/wd/staticresource/fonts/fonts.css',
{
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: 'text/css,*/*;q=0.1',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
connection: 'keep-alive',
referer:
'' + baseUrl + '/wd/start/test',
'sec-fetch-dest': 'style',
'sec-fetch-mode': 'no-cors',
'sec-fetch-site': 'same-origin',
},
}
)
response = http.get(
'' + baseUrl + '/wd/staticresource/main.js?id=d23a41699b122ec7',
{
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
connection: 'keep-alive',
referer:
'' + baseUrl + '/wd/start/test',
'sec-fetch-dest': 'script',
'sec-fetch-mode': 'no-cors',
'sec-fetch-site': 'same-origin',
},
}
)
}
)
group(
'page_2 - ' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%2436ef40a9-47d2-435a-a337-8caa1b78ba0c%24global%24global',
function () {
response = http.get(
'' + baseUrlApplication + '/' + data['sessionId'] + '/resource/test/en/images/91a2fdb6-c889-4764-87bf-2902e9274eef.png',
{
tags: { name: 'url-tag-1' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%2436ef40a9-47d2-435a-a337-8caa1b78ba0c%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%2436ef40a9-47d2-435a-a337-8caa1b78ba0c%24global%24global',
'{"data":[],"operation":"submit"}',
{
tags: { name: 'url-tag-1' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%2436ef40a9-47d2-435a-a337-8caa1b78ba0c%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
}
)
group(
'page_3 - ' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%2454f36dc2-6403-4ffa-b7ee-ffb75c3997e0%24global%24global',
function () {
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%2454f36dc2-6403-4ffa-b7ee-ffb75c3997e0%24global%24global',
'{"data":[{"entityId":"someEntity","instances":[{"entityId":"someEntity","instanceName":"someEntity","attributes":[{"field":"parent_name","value":"Parent1"},{"field":"food_requirements","value":false}],"relationships":[],"collected":[],"uploads":[]}]}],"operation":"submit"}',
{
tags: { name: 'url-tag-2' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%2454f36dc2-6403-4ffa-b7ee-ffb75c3997e0%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
}
)
group(
'page_4 - ' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
function () {
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'{"data":[{"entityId":"child","instances":[{"entityId":"child","instanceName":"the child1","parentId":{"entityId":"someEntity","instanceName":"someEntity"},"attributes":[{"field":"child_name","value":""},{"field":"child_veg","value":{"dataType":"<uncertain>"}},{"field":"child_grains","value":{"dataType":"<uncertain>"}},{"field":"child_fruit","value":{"dataType":"<uncertain>"}},{"field":"child_dairy","value":{"dataType":"<uncertain>"}},{"field":"child_meat","value":{"dataType":"<uncertain>"}},{"field":"child_sweets","value":{"dataType":"<uncertain>"}}],"relationships":[],"collected":[],"uploads":[]}]},{"entityId":"someEntity","instances":[{"entityId":"someEntity","instanceName":"someEntity","attributes":[],"relationships":[],"collected":["child"],"uploads":[]}]}],"operation":"recalc"}',
{
tags: { name: 'url-tag-3' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'{"data":[{"entityId":"child","instances":[{"entityId":"child","instanceName":"the child1","parentId":{"entityId":"someEntity","instanceName":"someEntity"},"attributes":[{"field":"child_name","value":"Child1"},{"field":"child_veg","value":{"dataType":"<uncertain>"}},{"field":"child_grains","value":{"dataType":"<uncertain>"}},{"field":"child_fruit","value":{"dataType":"<uncertain>"}},{"field":"child_dairy","value":{"dataType":"<uncertain>"}},{"field":"child_meat","value":{"dataType":"<uncertain>"}},{"field":"child_sweets","value":{"dataType":"<uncertain>"}}],"relationships":[],"collected":[],"uploads":[]}]},{"entityId":"someEntity","instances":[{"entityId":"someEntity","instanceName":"someEntity","attributes":[],"relationships":[],"collected":["child"],"uploads":[]}]}],"operation":"recalc"}',
{
tags: { name: 'url-tag-3' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'{"data":[{"entityId":"child","instances":[{"entityId":"child","instanceName":"the child1","parentId":{"entityId":"someEntity","instanceName":"someEntity"},"attributes":[{"field":"child_name","value":"Child1"},{"field":"child_veg","value":1},{"field":"child_grains","value":2},{"field":"child_fruit","value":{"dataType":"<uncertain>"}},{"field":"child_dairy","value":{"dataType":"<uncertain>"}},{"field":"child_meat","value":{"dataType":"<uncertain>"}},{"field":"child_sweets","value":{"dataType":"<uncertain>"}}],"relationships":[],"collected":[],"uploads":[]}]},{"entityId":"someEntity","instances":[{"entityId":"someEntity","instanceName":"someEntity","attributes":[],"relationships":[],"collected":["child"],"uploads":[]}]}],"operation":"recalc"}',
{
tags: { name: 'url-tag-3' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'{"data":[{"entityId":"child","instances":[{"entityId":"child","instanceName":"the child1","parentId":{"entityId":"someEntity","instanceName":"someEntity"},"attributes":[{"field":"child_name","value":"Child1"},{"field":"child_veg","value":1},{"field":"child_grains","value":2},{"field":"child_fruit","value":3},{"field":"child_dairy","value":2},{"field":"child_meat","value":3},{"field":"child_sweets","value":{"dataType":"<uncertain>"}}],"relationships":[],"collected":[],"uploads":[]}]},{"entityId":"someEntity","instances":[{"entityId":"someEntity","instanceName":"someEntity","attributes":[],"relationships":[],"collected":["child"],"uploads":[]}]}],"operation":"recalc"}',
{
tags: { name: 'url-tag-3' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'{"data":[{"entityId":"child","instances":[{"entityId":"child","instanceName":"the child1","parentId":{"entityId":"someEntity","instanceName":"someEntity"},"attributes":[{"field":"child_name","value":"Child1"},{"field":"child_veg","value":1},{"field":"child_grains","value":2},{"field":"child_fruit","value":3},{"field":"child_dairy","value":2},{"field":"child_meat","value":3},{"field":"child_sweets","value":1}],"relationships":[],"collected":[],"uploads":[]}]},{"entityId":"someEntity","instances":[{"entityId":"someEntity","instanceName":"someEntity","attributes":[],"relationships":[],"collected":["child"],"uploads":[]}]}],"operation":"recalc"}',
{
tags: { name: 'url-tag-3' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'{"data":[{"entityId":"child","instances":[{"entityId":"child","instanceName":"the child1","parentId":{"entityId":"someEntity","instanceName":"someEntity"},"attributes":[{"field":"child_name","value":"Child1"},{"field":"child_veg","value":1},{"field":"child_grains","value":2},{"field":"child_fruit","value":3},{"field":"child_dairy","value":2},{"field":"child_meat","value":3},{"field":"child_sweets","value":1}],"relationships":[],"collected":[],"uploads":[]}]},{"entityId":"someEntity","instances":[{"entityId":"someEntity","instanceName":"someEntity","attributes":[],"relationships":[],"collected":["child"],"uploads":[]}]}],"operation":"submit"}',
{
tags: { name: 'url-tag-3' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24b3a35b86-b642-4797-9abe-049c57b1f614%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
}
)
group(
'page_5 - ' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24fcc74cca-d8ac-4309-8063-82286ba0d642%24global%24global',
function () {
response = http.post(
'' + baseUrlApplication + '/' + data['sessionId'] + '/JSON/test/en/Screen-qs%24fcc74cca-d8ac-4309-8063-82286ba0d642%24global%24global',
'{"data":[{"entityId":"someEntity","instances":[{"entityId":"someEntity","instanceName":"someEntity","attributes":[{"field":"assessor_name","value":"Abc"},{"field":"assessment_date","value":"2024-07-11"}],"relationships":[],"collected":[],"uploads":[],"signature":{"signatureOperation":"set","data":"iVBOR1w0KGgoAAAANSUhEUgAAAfIAAABkCAYAAAB92bI6AAAAAXNSR0IArs4c6QAAChhJREFUeF7t3dtvVVUeB/BVLin30lbuFxEBp4qiiZE4EUYhMZMA0fCq8UWCL8Yn/wUffNDEZ6OJLz6bKGiYCBnAOGocdVAgYCTK/dJyv1SgnaxdWmgpcmhXu84+/ezk5PSQvX+/tT5rJ9/s3bJPXWdnZ2ewESBAgAABAqUUqBPkpVw3gyZAgAABAoWAIHci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","fileName":"myfile.png"}}]}],"operation":"submit"}',
{
tags: { name: 'url-tag-4' },
headers: {
'host': '' + host + '',
'user-agent': userAgent,
accept: '*/*',
'accept-language': 'en-AU,en-US;q=0.7,en;q=0.3',
'accept-encoding': 'gzip, deflate, br',
'x-id': '' + data['xId'] + '',
'content-type': 'text/plain',
origin: protocol + host,
connection: 'keep-alive',
referer:
'' + baseUrlApplication + '/' + data['sessionId'] + '/test/Screen-qs%24fcc74cca-d8ac-4309-8063-82286ba0d642%24global%24global',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
},
}
)
}
)
// Automatically added sleep
sleep(sleepInSeconds)
}