Run the sample
After you build or import the sample, you can test the StockQuote application in the integrated test client or the debugger.
The Stock Quote sample includes some runtime components; a real-time web service and a delayed web service that generate quotes randomly for the symbol specified in the test client, and a csv file that has preloaded customer data. To run the sample, add the StockQuoteApp and the StockQuoteProviderApp projects to the server and launch the test client.Lessons in this Module
- Test the mediation flow
- You have to add the StockQuoteApp and the StockQuoteProviderApp projects to the running server. Then, you can test your mediation flow in the test client.
- Debug the mediation flow
- Debug the StockQuote_MediationFlow component in the unit test environment by using the integration debugger.
- Change the quality of service at run time
- When you built the sample, you promoted the Filter pattern property, to allow you to change the value of the property at run time. Now, you will change the value of the Filter pattern property in the unit test environment's administrative console, which will cause the request to be sent to a different service. You will then view the result in the test client emulator.
- Deploy to the runtime
- Now that your sample is tested, you may want to deploy it to IBM® Workflow Server.
- Test the mediation flow
Test your mediation flow. - Debug the mediation flow
Debug the StockQuote_MediationFlow component in the unit test environment by using the integration debugger. - Change the quality of service at run time
When you built the sample, you promoted the Filter pattern property. This lets you change the value of the property at run time. Now, you will change the value of the Filter pattern property in the unit test environment's administrative console, which causes the request to be sent to a different service. You will then view the result in the test client emulator. - Deploy to the runtime
Now that your sample is tested, you may want to deploy it to the IBM Workflow Server.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15