I am trying to automate manual testing of modules in my project. We are dealing with IBM Websphere Message queue software. We have a trigger component written in the Java kernel, which when polling for a message in a configured queue. Its an indefinite while loop that supports triggering a trigger component. I wrote test cases in JUnit to queue a message, and now can I start / stop the trigger component on demand? Calling the trigger component makes it work, and I don't get control back to check the expected result. If I ran it in a stream, then the log files to which the trigger component should be updated during message processing are not updated. How can I solve this situation. Your suggestion and guidance are highly appreciated. Thanks, -Vijay
source share