-
Notifications
You must be signed in to change notification settings - Fork 514
Replies: 1 comment · 5 replies
-
hi @nvingoe 👋 just to confirm - do you have https://github.com/artilleryio/artillery-xml-capture installed? Looking at the docs it seems that we don't mention that as a requirement for using |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @hassy, thanks for your help. I had noticed that the XML Capture module had been split out, but like you say there's no mention of it in the docs, so I wasn't sure of the status. I've just tried installing XML Capture via NPM (Win 10) and it appears to have a dependency on "Visual Studio Desktop development with C++" which is a bit of a pain TBH. Can I ask does the Docker image include XML Capture and all the required dependencies? If so I'm thinking that might be a simpler solution for me. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Further update on the above. Your official Dockerfile doesn't include XML Capture, I've therefore pushed on with installing the VS build tools (2019) dependency and tried to install the package locally.
Unfortunately, it fails with the following error(s). I can see that the package was published 6 years ago, so I'm wondering if it is no longer compatible with the current version of Node?:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for the details @nvingoe! Unfortunately there's little we can do in the short term -- those build errors are from In the longer run, we will look at replacing |
Beta Was this translation helpful? Give feedback.
All reactions
-
Oh and yes, I agree - the Docker image should include |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks @hassy. I'll keep an eye on future Artillery releases and if / when you implement an alternative XML parser, will take another look. On the Docker front, I ran into similar errors, so you may need to find a replacement for artillery-xml-capture and then add that to the Docker image. |
Beta Was this translation helpful? Give feedback.
-
Hi there, I'm struggling to get a straight forward xpath query to pull out a GUID from an XML response body and I was wondering if I'm doing something fundamentally wrong. Here's a snippet from my .yml file (not the entire file):
I've run in various debug modes and I can see that the XML response of that call is as below, which I've also confirmed via Postman
However the value of "pmrGUID" never seems to be set. Any pointers would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions