Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xpath Function is not working #253

Open
sheril-infy opened this issue Jan 21, 2021 · 1 comment
Open

Xpath Function is not working #253

sheril-infy opened this issue Jan 21, 2021 · 1 comment

Comments

@sheril-infy
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

New Request regarding Xpath Match

Hi, I am trying to use XPath functions to capture value from the request and return it in the response. eg: string-length('hoverfly'), string(format-date(//Date/@ArrivalDate, '[M01]-[D01]-[Y0001]'))
But it's returning blank. Can anyone help with this?
Format I tried in response : {{ Request.Body "xpath" "string-length('hoverfly')" }}

Is this possible in Hoverfly?

@sheril-infy
Copy link
Author

I have posted the same in https://gitter.im/SpectoLabs/hoverfly#

No response as of now.

@sheril-infy sheril-infy changed the title Xpath Function support Xpath Function is not working Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant