Replies: 2 comments
-
I actually got the first part of this working, my API calls are working. I only require assistance now in how I can pass the redirect URL to my artillery playwright function. I created this playwright function and I now need to pass the redirectURL in to this function that I received from my last API call.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I've made it another step further by creating a variable in my yml file and then being able to access it from my function. However I cannot figure out how to dynamically set that variable by using the response from the api call.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys
I have a working test script in Playwright that does a few api calls and then a quick interaction with the browser.
I am struggling to understand how I need to convert this in to the format that the Artillery yml script requires.
I would really appreciate any assistance.
Below is the script with some sensitive data removed
`import {expect, test, Page, chromium, BrowserContext} from "@playwright/test";
import {v4 as uuidv4} from 'uuid';
test.describe('IPG Direct Wrapper Performance Tests', ()=>{
let guid: any;
let redirectUrl: any;
})`
Beta Was this translation helpful? Give feedback.
All reactions