You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However the below three options get applied to both the scripts. I want to be able to set these differently for individual scripts just like we can for scenarios.
noVUConnectionReuse: true,
noConnectionReuse: true,
insecureSkipTLSVerify: optionsFunc02.insecureSkipTLSVerify
The text was updated successfully, but these errors were encountered:
This is something that we can't currently do, and it's already tackled in two different issues, so I'll close this one in favor of them:
On the network connection side, it should be possible to specify custom HTTP (and other) clients that don't rely on the global insecureSkipTLSVerify / noConnectionReuse / noVUConnectionReuse / etc. options to define this behavior. This is currently tracked in k6 extension: New experimental HTTP API #2461
Sure. I'd been asked to raise this issue here by Alex and Pawel so that they can plan and add it to the pipeline.
Thanks for the references though and I will go through them.
Hello,
I am trying to run two test scripts in parallel by calling their functions within a main script.
export { default as func01 } from './Script1.js';
export { default as func02 } from './Script2.js';
export let optionsFunc02 = {
scenarios: {
executor: 'constant-vus',
gracefulStop: '10s',
duration: '1m30s',
vus: 1,
exec: 'func02',
},
insecureSkipTLSVerify: true
};
export let options = {
scenarios: {
'irisPages' : {
executor: 'constant-vus',
gracefulStop: '10s',
duration: '1m30s',
vus: 1,
exec: 'func01',
},
'addMocks' : optionsFunc02.scenarios,
},
noVUConnectionReuse: true,
noConnectionReuse: true,
insecureSkipTLSVerify: optionsFunc02.insecureSkipTLSVerify
};
However the below three options get applied to both the scripts. I want to be able to set these differently for individual scripts just like we can for scenarios.
noVUConnectionReuse: true,
noConnectionReuse: true,
insecureSkipTLSVerify: optionsFunc02.insecureSkipTLSVerify
The text was updated successfully, but these errors were encountered: