Skip to content

Commit

Permalink
Update to use command line for host IP
Browse files Browse the repository at this point in the history
  • Loading branch information
MushtabaA committed Mar 3, 2024
1 parent c4afd5c commit 2bafa57
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Scripts/teaStorek6TestScript1.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { group, sleep } from 'k6';

import http from 'k6/http';

const BASE_URL = `http://${__ENV.HOST || 'localhost'}:8080/tools.descartes.teastore.webui`;

const groupResponseTimes = {};

export const options = {
Expand All @@ -12,13 +14,7 @@ export const options = {
],
};

const AHAD_IP = '10.1.9.58'
const ABHAY_IP = '10.1.10.50'
const MUSH_IP = '10.1.3.222'
const PARBIR_IP = '10.1.10.210'

export default function () {
const BASE_URL = `http://${ABHAY_IP}:8080/tools.descartes.teastore.webui`;

group('TeaStore Homepage Browse', () => {
const start = new Date();
Expand Down

0 comments on commit 2bafa57

Please sign in to comment.