Is the any way to run parallel all scenerio with Vus?

I need a excuter type or option. When I add two user ,one user run all the scenerios,and other user should run the all scenerios parallel. I want it to run all scenarios from two separate branches at the same time. For exeamle one VU sould run below scenerio,on the other hand other VU should run the below scenerio at the same time with first VU

export const options = {
    scenarios: {
        CreatePicking: {
            executor: 'shared-iterations',
            exec: 'CreatePicking',
            vus: 2,
            iterations: 2
        },
    }
}

export function CreatePicking(data) {

    let createdIsCompleted = false;
  
    let generateTokenHeader = {
        headers: {
            'Authorization': `Bearer ${data.access_token}`,
            'content-type': 'application/json',
        },
    };

    describe('Continue pick', (t) => {
            let continueIfExistRes = http.post(requestUrlAPI + 'PickingProcessTest', JSON.stringify({
                trolleyLabel:'PCK-TRL-L-0' + (vu.idInTest-1)
            }), generateTokenHeader
            )
            t.expect(continueIfExistRes.status).toEqual(200);
            sleep(1)
    });

    describe('check test', (t) => {
        while (createdIsCompleted == false) {
            let checkCellRes = http.post(requestUrlAPI + 'PickingProcess.checkCell', JSON.stringify({
                cellLabel: `${cellLabel}`,
                pickingReferenceNumber: `${pickingProcessReferenceNumber}`,
                allocatedItemId: `${allocatedItemId}`,
            }), generateTokenHeader)
            console.log("checkCellControlRes", checkCellRes.body)
            t.expect(checkCellRes.status).toEqual(204);
        }
        sleep(1)
    });

I am sorry, I don’t understand what you mean :confused: Different scenarios run in parallel by default, so adding a second scenario is as easy as adding another element in options.scenarios:

export const options = {
    scenarios: {
        CreatePicking: {
            executor: 'shared-iterations',
            exec: 'CreatePicking',
            vus: 2,
            iterations: 2
        },
        AnotherScenario: {
            executor: 'shared-iterations',
            exec: 'AnotherFunction',
            vus: 2,
            iterations: 2
        },
    }
}