How do I generate traffic using the custom application model?
How do I generate traffic using the custom application model?
If you do not see expected results using the custom application, read the following list to identify common configuration problems, typically due to network or server behavior. Descriptions of the problems and their solutions appear below the Problems list.
Typical Problems:
Detailed Problem Descriptions/Solutions:
Problem 1: I set up my tasks in a Task Configuration Object, however, there is no traffic flowing out of my workstation/LAN and the simulation runs for several hundred events only.
Solution: Make sure that the Source Preferences attribute is set on your workstation. This attribute is available in advanced node models only, so make sure that your workstation/LAN is of an advanced type. Setting this attribute effectively makes the workstation/LAN the originating node for your task.
Problem 2: I have setup several applications within my profiles, but I do not see all of them executing. Alternatively, I do not see an application repeating within the specified profile.
Solution: If the Operation Mode of all the applications within the profile is set to Serial (Ordered or Random) and the Profile Duration is set to the End of Simulation and the duration of the first application is set to End of Profile, only the first application will start up. Therefore, you will NOT see traffic from the second application onwards. When you run applications serially, make sure that your configuration allows all the applications to start within the specified runtime.
Problem 3: I have set Initialization Time for a phase to be n seconds, however, I see that the actual initialization time is more (or less) than the time that I specified.
Solution: The difference in initialization time is contributed by the settings of the CPU Resource Parameters attribute on the node. This usually happens when the attribute CPU Resource Parameters > Task Contention Mode is set to Simulate Contention. In this mode, CPU processing time might not be the same as the time specified in the Task Configuration Object.A.
If initialization time is more than n seconds: If a LAN object with multiple workstations is used, workstations may incur the initialization time at the same time and the CPU on the LAN will add contention delay to the initialization time. This can increase the initialization time for each phase and decrease the amount of traffic coming out of the LAN object.B.
If initialization time is less than n seconds: make sure that Processing Speed Multiplier is not larger than 1, since this effectively decreases the specified initialization by the multiplier factor.
Problem 4: I set up my custom application to generate a specific amount of traffic, however, I do not see the expected amount of traffic leaving the source.
Solution: Several factors affect the amount of traffic leaving the source at any time, which are:
The following list gives possible reasons why the amount of traffic leaving the source is different from the expected traffic load:
Problem 5: I have specified a phase, but it does not seem to finish and stops sending traffic after the first request.
Solution: When you set the Dest > Source Information in a task to No Response, make sure that you select the Concurrent mode for the request response pattern. Because there are no responses, you cannot use the serial request response mode.
Problem 6: I want to end my application when the last task finishes, but I do not want to specify its duration manually.
Solution: For custom applications, set the application duration to End of Last Task in the Profile Configuration Object.
Problem 7: You can set Inter-response Time explicitly or set it to Use Server CPU, which calculates inter-response time based on the CPU speed of the destination server.
Application Modeling > Custom Applications