Open unlikelyzero opened 2 years ago
Hi there,
a script to reproduce it would help, but I can understand if it's an internal service and this is not possible.
At first glance that URL seems strange: https:///node_modules/dist/openmct.js
. Are you sure the site is loading properly?
Also, what actually happens when you attempt basic auth? Does the entire test fail or return other errors? These are errors for this specific request to a malformed URL, and don't seem related to basic auth. If you can share the full error log (in a collapsible code block), it would help pinpoint anything else that might be relevant. Ah, make sure to run with the environment variable XK6_BROWSER_LOG=trace
. This will output a lot of logs, but it's useful for troubleshooting.
@imiric @inancgumus what sort of debug logging is available? That's the information that was thrown to console when running:
./xk6-browser run perf/tests/xk6-browser/basic.js
/\ |‾‾| /‾‾/ /‾‾/
/\ / \ | |/ / / /
/ \/ \ | ( / ‾‾\
/ \ | |\ \ | (‾) |
/ __________ \ |__| \__\ \_____/ .io
execution: local
script: perf/tests/xk6-browser/basic.js
output: -
scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop):
* default: 1 iterations for each of 1 VUs (maxDuration: 10m0s, gracefulStop: 30s)
WARN[0009] url:https://<REDACTED>/node_modules/openmct/dist/openmct.js method:GET err:error fetching response body: context canceled category="Response:bodySize:fetchBody" elapsed="0 ms" goroutine=153
ERRO[0009] error continuing request: context canceled category="NetworkManager:onRequestPaused" elapsed="0 ms" goroutine=153
running (00m08.8s), 0/1 VUs, 1 complete and 0 interrupted iterations
default ✓ [======================================] 1 VUs 00m08.8s/10m0s 1/1 iters, 1 per VU
ERRO[0009] err:websocket: close 1006 (abnormal closure): unexpected EOF category="Connection:handleIOError" elapsed="0 ms" goroutine=125
browser_dom_content_loaded...: avg=3.27s min=107µs med=3.27s max=6.55s p(90)=5.89s p(95)=6.22s
browser_loaded...............: avg=4.53ms min=4.53ms med=4.53ms max=4.53ms p(90)=4.53ms p(95)=4.53ms
data_received................: 162 kB 18 kB/s
data_sent....................: 1.5 kB 172 B/s
http_req_connecting..........: avg=199.33ms min=0s med=0s max=598ms p(90)=478.4ms p(95)=538.19ms
http_req_duration............: avg=423.89ms min=138.71ms med=149.82ms max=983.14ms p(90)=816.47ms p(95)=899.8ms
http_req_receiving...........: avg=136.66ms min=131ms med=134ms max=145ms p(90)=142.8ms p(95)=143.9ms
http_req_sending.............: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_tls_handshaking.....: avg=88ms min=0s med=0s max=264ms p(90)=211.2ms p(95)=237.59ms
http_reqs....................: 3 0.341981/s
iteration_duration...........: avg=8.77s min=8.77s med=8.77s max=8.77s p(90)=8.77s p(95)=8.77s
iterations...................: 1 0.113994/s
vus..........................: 1 min=1 max=1
vus_max......................: 1 min=1 max=1
Run it like this:
XK6_BROWSER_LOG=trace ./xk6-browser run perf/tests/xk6-browser/basic.js &> basic.log
And please send the basic.log
file to us in a collapsible code block.
Hello! I think I pulled down the latest version and am seeing the following error when attempting basic auth
WARN[0009] url:https:///node_modules/dist/openmct.js method:GET err:error fetching response body: context canceled category="Response:bodySize:fetchBody" elapsed="0 ms" goroutine=153
ERRO[0009] error continuing request: context canceled category="NetworkManager:onRequestPaused" elapsed="0 ms" goroutine=153
What other diagnostic information do you need?