This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import http from 'k6/http'; | |
import { check, sleep } from 'k6'; | |
import { SharedArray } from 'k6/data'; | |
import papaparse from 'https://jslib.k6.io/papaparse/5.1.1/index.js'; // Import papaparse library for CSV parsing | |
import URI from "./libs/urijs.js"; // Import URI handling as needed | |
// Load the CSV data containing from and to values | |
const csvData = new SharedArray('CSV data', function () { | |
return papaparse.parse(open('sunbird_usecase_101.csv'), { header: true }).data; | |
}); | |
// Define load testing stages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -J jump_user@jump_ip -L 8080:remote_ip:80 remote_user@remote_ip |