You can define an HTTP job to invoke a program over HTTP. If the host you are connecting to requires user authentication, you must complete the Connection Information page.
Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows and CA WA Agent for Application Services.
To define an HTTP job
The Application appears in the workspace.
The HTTP icon appears on the Application workspace view.
The Basic page of the HTTP dialog opens.
Defines the name of the job that you want to schedule.
Limits: 128 alphanumeric characters, plus the special characters commercial at (@), pound (#), dollar sign ($), underscore (_), square brackets ([]), brace brackets ({}), and percent sign (%) as a symbolic variable introducer character.
Specifies the name of the agent that lets you invoke a program over HTTP.
Indicates the HTTP method type, which can be either GET or POST.
Default: POST
Specifies the host where the program you want to invoke resides. The URL has the following format:
http://host:port/action
Example: http://localhost/cgi-bin/test.sh
Note: HTTP and HTTPS are supported.
Specifies the path to the servlet to be invoked.
Example: /cgi-bin/test.sh
Note: If you omit this field, you must specify the action in the URL field.
Defines the regular expression to use as a filter. The job spool file will contain lines from the HTTP response that match the filter.
The Action Parameters page opens in the right pane.
Specifies the variable that the agent passes to the program the job invokes.
Defines a value for the variable specified in the Parameter Type field.
Note: Click Add to enter a parameter type and parameter value pair.
The Connection Information page opens in the right pane.
Specifies the user name required by a website for connection authentication. The user must be defined in the Topology. This field supports the use of a namespace for a user that has more than one password. Contact your administrator for the user name defined in the Topology.
Example: Bob, Production:Bob
Specifies the origin host name for NTLM connection authentication. If unspecified, the origin defaults to the computer name where the agent is running.
Specifies the domain for NTLM connection authentication.
Ignores the global proxy configuration specified by the proxy parameters in the agentparm.txt file. Select this option if you want to ignore the proxy for this job only. For example, you might ignore the proxy if the request is going to a server on the LAN that does not require the proxy.
Defines a list of protocols to be used by a web server for authentication. If you are connecting to a web server that cannot negotiate authentication protocol, enter the following list in the specified order: BASIC, DIGEST and NTLM.
Example: BASIC, DIGEST, NTLM
The HTTP job is defined.
Example: Define an HTTP Job to Perform a Google Search
Suppose that you want to define a job to perform a Google search and have the results returned to the job's spool file. You also want to refine your search results by specifying a filter.
To define an HTTP job to perform a Google search
When the job runs, the job spool file will contain all matches that contain the filter AutoSys.
Example: Define an HTTP Job to Subscribe to a Mailing List
Suppose that you want to define a job to subscribe to a mailing list located on a local server. You want to add the email address test@abc.com to the list.
To define an HTTP job to subscribe to a mailing list
|
Copyright © 2011 CA.
All rights reserved.
|
|