File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -683,13 +683,11 @@ spec:
683683 # value: "192.168.1.99"
684684 containers :
685685 - name : petclinic-loadgen
686- image : ghcr.io/splunk/online-boutique/rumloadgen:5.5
686+ image : ghcr.io/splunk/online-boutique/rumloadgen:5.6
687687 imagePullPolicy : Always
688688 env :
689689 - name : NODE_IP
690- valueFrom :
691- fieldRef :
692- fieldPath : status.hostIP
690+ value : " api-gateway-external"
693691 - name : RUM_PROTOCOL
694692 value : " http"
695693 - name : RUM_PORT
@@ -714,18 +712,18 @@ data:
714712 function run () {
715713 return new Promise(async (resolve, reject) => {
716714 const browser = await puppeteer.launch({
717- headless: 'new ',
715+ headless: 'shell ',
718716 defaultViewport: null,
719717 args: ['--no-sandbox', '--disable-setuid-sandbox']
720718 });
721719 try {
722- const wait_time = 10000 ; //Set up delay between page interactions
720+ const wait_time = 500 ; //Set up delay between page interactions
723721 for (let loop=0; loop < 1;loop++) { // as part of the load we run multiple of this script to generate multiple session
724722 const context = await browser.createBrowserContext();
725723 const page = await context.newPage();
726- await page.setUserAgent('Mozilla/5.0 (X11; Linux x86_64; Splunk RUMLoadGen) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117 .0.0.0 Safari/537.36')
724+ await page.setUserAgent('Mozilla/5.0 (X11; Linux x86_64; Splunk RUMLoadGen) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140 .0.7339.133 Safari/537.36')
727725 const urls= ["http://"+ process.env.NODE_IP +":81/#!/welcome"];
728- const timeout = 30000;
726+ const timeout = 30000;
729727 for (const element of urls) {
730728 const url = element;
731729 await page.goto(`${url}`);
You can’t perform that action at this time.
0 commit comments