nightwatchjs / nightwatch

Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
https://nightwatchjs.org
MIT License
11.79k stars 1.31k forks source link

keep_alive not getting honoured #3649

Closed agarneha1331 closed 1 year ago

agarneha1331 commented 1 year ago

Description of the bug/issue

When I provided keep_alive true as mentioned in this conf, it is not showing true in my dashboard.

Screenshot 2023-03-17 at 1 20 53 PM

Steps to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Sample test

No response

Command to run

No response

Verbose Output

No response

Nightwatch Configuration

No response

Nightwatch.js Version

2.1.5

Node Version

No response

Browser

No response

Operating System

No response

Additional Information

No response

harshit-bs commented 1 year ago

Although we will investigate it more thoroughly but based on my observation, NightwatchJS is passing the correct options in the request here, as defined in this doc.

nasrinaria commented 1 year ago

Here are the Selenium logs. They might be worth a look. The logs show that the keep-alive flag in the Nightwatch config is working. All connections are keep-alive. However, the "x-connid" is different for each request.

Selenium logs.txt

swrdfish commented 1 year ago

@nasrinaria thank you for the log, we are looking into it.