The Web Service Multithreaded Multithread component is designed to work with the Web Service Multithreaded Multithread Worker to enable parallel processing of requests. These components have two distinct roles:
Web Service Multithreaded Multithread is the dispatcher component which listens for requests and sends it to the worker component for parallel processing using
component.call
.Web Service Multithread Worker component handles the actual processing of the data dispatched by the Web Service Multithreaded Multithread component.
Running the Components:
Expand | ||
---|---|---|
| ||
Using +COMPONENT, import two components:
|
Expand | ||
---|---|---|
| ||
The two components are configured to work together by default without configuration required. However, the custom fields can be configured as needed: Web Service MultithreadedMultithread:
Web Service Multithread Worker:
For more information on adapting the worker component, see Web Service Multithreaded Multithread Worker. |
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
You can use any mechanism to send HTTP requests to the Web Service Multithreaded Multithread component configured endpoint - default is http://localhost:7778/. If your Iguana instance is running remotely you can use the public IP address. If you want to use Iguana as the test source system to create a data feed, you can use the following simple setup:
|
Expand | ||
---|---|---|
| ||
First start your Web Service Multithread and Web Service Multithread Worker components. Then use Bulk Actions to start the two Source Feed components at the same time. Go to the logs of the Web Service Multithread Worker component and view the logged GET requests: . Notice the |