load-tests/script.js
Function default
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function (data) {
console.log(`VU: ${__VU} - ITER: ${__ITER}`);
console.debug('Running Tests');
console.debug(`Data from setup: ${JSON.stringify(data)}`);
if (!data.token) {
Function setup
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function setup() {
console.log(`Email url: ${emailUrl}`);
console.log(`SSO url: ${oidcUrl}`);
console.debug('Getting Token');
// Check a secret was supplied or nothing will work
TODO found Open
Open
// TODO: figure out what this should be (100%)
- Exclude checks
TODO found Open
Open
// TODO: parameterize this into 2 scenarios that can be invoked
- Exclude checks