Need to be implemented in a native step like http / html Request Step。
You may want to look at this thread where I have pointed out several resources for using the DevTest SDK to create custom steps and data protocol handlers.
Can you provide the group with any additional information as to what you are trying to accomplish?
DevTest provides several different types of steps. The documentation links below might be helpful in determining the type of request best suited to your requirement.
HTTP-HTML Request Step - DevTest Solutions - 10.1 - CA Technologies Documentation
REST Step - DevTest Solutions - 10.1 - CA Technologies Documentation
Web Service Execution (XML) Step - DevTest Solutions - 10.1 - CA Technologies Documentation
Are you trying to create a custom step, or do you want to know how to use an existing step?
I am try to create a cutom step,and how use ide debug it .
How to debug in the implementation process.
I recommend that you add a lot of debug output statements in your code to print out things like values of variables and basic checkpoints to confirm the correct path of the code is executed. A simple System.out.println(""); will print it out to a console. But a more robust logging approach is to use log4j Logger class which log your output to a file. There are examples of log4j in the resources I posted in the other thread.
A more advanced debugging technique is to start DevTest in JPDA (Java Platform Debugging Architecture). This allows you to see your code in your IDE executed in real-time. You can optionally add break points in your IDE and step through the code while inspecting runtime objects.
To do this with Eclipse IDE - you have to edit the vmoptions file for the appropriate DevTest component. For example, if you are creating a custom step then you'll want to edit Workstation.exe.vmoptions. If you are creating a custom data or transport protocol you'll want to edit the VirtualServiceEnvironment.exe.vmoptions and/or VirtualServiceEnvironmentService.exe.vmoptions, etc.
You'll need to add the following lines to the vmoptions file:
In my example I'm using port 16000 (e.g. address=16000), but any available port can be used.
In Eclipse you'll need to add a new run configuration under Remote Java Application and specify the host and port where DevTest is running
Can you respond to Jeff's last reply?
Retrieving data ...