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

Instead of using a karate.get('$request/Envelope/Body/cat/name') build a helper method #337

Closed
smoothie2003 opened this issue Mar 1, 2018 · 3 comments
Assignees
Milestone

Comments

@smoothie2003
Copy link

Instead of using a karate.get('$request/Envelope/Body/cat/name') build a helper method such as requestPath('/Envelope/Body/cat/name') {Not my idea, Thomas came up with it} for the mock servers.

@ptrthomas ptrthomas self-assigned this Mar 1, 2018
@ptrthomas ptrthomas added this to the v0.7.1 milestone Mar 1, 2018
@ptrthomas
Copy link
Member

yes. on seconds thoughts requestPath is confusing.

thinking of just bodyPath(foo) where foo can be xpath or jsonPath

@ptrthomas
Copy link
Member

implemented bodyPath(string) in this commit (forgot to ref in commit): 25b767d

@ptrthomas ptrthomas added the fixed label Apr 2, 2018
@ptrthomas
Copy link
Member

released 0.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants