Camel to BPEL Test File Write

top

3 Test Less Than 500 case
3-a create testcase
3-a-i Test>New Test Case
3-a-ii name: TestCaseLT500

click Next

3-a-iii Select WSDL

click Next

3-a-iv Select Operation

click Finish

3-b edit input
3-b-i provide a name

(for later visual verification)

3-b-ii provide an OrderPrice

below 500

to cause a File Write

3-c run test
and edit captured output
3-c-i TestCaseLT500

> Run

note that this will:

1. Start GlassFish (if needed)

2. Deploy the SA

3. Start the SA

3-c-ii Capture the output

for verifying future runs

click Yes

3-c-iii inspect test run output

(OrderResponse returned

by File BPEL)

3-d rerun test
3-d-i TestCaseLT500>Run
3-d-ii inspect 2nd test

run output (returned by

File BPEL)

3-e inspect written file
3-e-i Widnow>Favorites

(to add a new tab to the

Projects/Files/Services

panel)

3-e-ii Right click

(in Favorites pane)

click Add to Favorites…

3-e-iii Navigate to C:\TMP

(or /tmp for Solaris/Linux)

3-e-iv double click file name
3-e-v inspect output file

(note same name LT500 from input file)

Updated by: admin on: October 29, 2008

Leave a Comment

You must be logged in to post a comment.