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

Allow Larva inline messages #1198

Merged
merged 1 commit into from
Oct 26, 2020
Merged

Conversation

gvanbrakel
Copy link
Contributor

@gvanbrakel gvanbrakel commented Oct 26, 2020

Currenly, Larva read and write steps use filenames, like:

step1.java.queuename.write = scenario01/in.xml
step2.java.queuename.read = scenario01/out.xml

where the files contain the request message and the expected response, for instance:
scenario01/in.xml:

<request query="select count(*) from table"/>

scenario02/out.xml:

<response>23</response>

In case the files contain a single line only (like in the example above), then using this PR, this can also be written like:

step1.java.queuename.writeline = <request query="select count(*) from table"/>
step2.java.queuename.readline = <response>23</response>

N.B. the 'readline' functionality has been disabled for now, as it does not prevent the 'saveResults' feature from writing unwanted files.

@gvanbrakel gvanbrakel merged commit 44c690b into master Oct 26, 2020
@gvanbrakel gvanbrakel deleted the Allow_Larva_inline_write_messages branch October 26, 2020 13:25
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

Successfully merging this pull request may close these issues.

2 participants