W edytorze testów element testowy to pierwszy element w
zestawie testów. Ustawienia podane w elemencie testu mają zastosowanie do całego
testu.
Opcje wspólne
- Pule danych
- Służy do wyświetlania szczegółowych informacji o każdej puli danych
używanej przez test. Wyświetlane informacje: nazwa puli danych, używane kolumny
i położenie w teście, w którym
przywoływana jest dana kolumna puli danych. Aby przejść do położenia, należy je
kliknąć.
- Dodaj pulę danych
- Umożliwia dodanie odwołania do puli danych, która ma być używana przez test.
Kliknięcie
tej opcji odpowiada kliknięciu opcji
po wybraniu testu.
- Usuń
- Umożliwia usunięcie wybranej puli danych. Ta opcja jest niedostępna, jeśli
pula danych jest używana.
SSL configuration
Define an
SSL configuration for certificate authentication between the client
and the server. SSL configurations can be used by any message request
in the test. If you use multiple SSL configurations in the test, you
must specify the configuration in each message request.
The
default SSL configuration always trusts servers, which is equivalent
to no authentication.
- SSL configuration
- Select an existing SSL configuration or create one. You can use
the toolbar push buttons to create a New SSL
configuration and to Rename or Delete existing
SSL configurations. You can also Copy and Paste SSL
configurations to and from the SSL editor and the test editor.
- Server Authentication
- This section describes how the client trusts the server.
- Always trust server
- Select this option if no authentication is required or to ignore
server certificates so that all servers are trusted. If you are using
single authentication and you want to accept trusted servers only,
then disable this option and specify a truststore that contains the
trusted server certificates.
- Client truststore
- When you are using single authentication, the client truststore
contains the certificates of all trusted servers. Click Browse to
specify a KS, JKS, or JCEKS file containing valid certificates of
the trusted servers.
- Password
- If the client truststore file is encrypted, type the password
required to access the file.
- Mutual Authentication
- This section describes how the server trusts the client in addition
to server authentication.
- Use client-side certificate
- If you are using double authentication, select this option to
specify a keystore containing the client certificate. This certificate
allows the server to authenticate the client.
- Client certificate keystore
- Click Browse to specify a KS, JKS, or JCEKS
file containing a valid certificate that authenticates the client.
- Password
- If the client truststore file is encrypted, type the password
required to access the file.
- Select trust alias for Mutual Authentication
- Select an alias to be used for the SSL configuration. There could
be multiple aliases in a keystore for different security certificates.
Choose an appropriate alias for a user. You can also use datapool
to store aliases that you can apply to virtual users at run time.
Konfiguracja protokołu (HTTP)
Strona konfiguracji
HTTP elementu testu służy do podawania informacji, które są wymagane
przez biblioteki serwera do wykonywania operacji wysyłania i odbierania HTTP.
Konfiguracja HTTP może być używana przez dowolne wywołanie komunikatu w teście.
Jeśli
w teście jest używanych wiele konfiguracji protokołu, należy podać konfigurację
w przypadku każdego wywołania komunikatu.
- Use HTTP Keep Alive
- Select this option to keep the HTTP connection open after the
request. This option is not available if you are using IBM® Rational AppScan.
- Use SSL
- Select this option to use an SSL configuration. Click Configure
SSL to create an SSL configuration or select an existing
configuration.
- Platform Authentication
- In this section, specify the type of authentication that is required
to access the service. Select None if no authentication
is required.
- Basic HTTP authentication
- Select this option to specify the User Name and Password that
are used for basic authentication.
- NTLM authentication
- Select this option to use the Microsoft NT
LAN Manager (NTLM) authentication protocol. NTLM uses challenge-response
authentication. This view lists what is negotiated (supported by the
client and requested of the server) and what is authenticated (the
client reply to the challenge from the server).
- Kerberos authentication
- Select this option to use the Kerberos authentication protocol
between the client and server.
- Connect through proxy server
- If the HTTP connection needs to go through a proxy server or a
corporate firewall, specify the Address and Port of
the proxy server. If the proxy requires authentication, select either Basic
proxy authentication or NTLM proxy authentication.
- Proxy authentication
- In this section, specify the type of authentication that is required
to access the proxy. Select None if no authentication
is required.
- Basic proxy authentication
- Select this option to specify the User Name and Password that
are used for basic authentication.
- NTLM proxy authentication
- Select this option to use the Microsoft NT
LAN Manager (NTLM) authentication protocol. NTLM uses challenge-response
authentication. This view lists what is negotiated (supported by the
client and requested of the server) and what is authenticated (the
client reply to the challenge from the server).
- Custom class
- Select this option if the communication protocol requires complex,
low-level processing with a custom Java™ code
to transform incoming or outgoing messages. Click Browse to
select a Java class that uses
the corresponding API. This option is not available in IBM Security AppScan.
Konfiguracja protokołu (JMS)
Strona
konfiguracji Java Message Service
(JMS) elementu testu służy do podawania informacji, które są wymagane przez biblioteki serwera do
wykonywania operacji wysyłania i odbierania JMS.
Konfiguracja JMS może być używana przez dowolne wywołanie komunikatu w teście. Jeśli w
teście jest używanych wiele konfiguracji protokołu, należy podać konfigurację
w przypadku każdego wywołania komunikatu.
- Destination style
- This is the style of the JMS destination. Select either Topic or Queue.
- End-point address
- This is the address of the destination.
- Use temporary object
- Select this option to send the JMS destination as a temporary
object. For a JMS queue, a temporary JMS queue is sent in the message.
- Reception point address
- If Use temporary object is disabled, specify
the JMS address of the destination endpoint.
- Basic authentication
- Select this option to specify the User Name and Password that
are used for basic authentication.
- Custom adapter class name
- Set up a custom Java Naming
and Directory Interface (JNDI) vendor adapter for this configuration.
To use a custom adapter, you must write a Java class that extends the Axis class and methods.
Specify the name of your custom adapter class in Adapter
class name.
- Text message
- Specify whether the message is a text or a byte message.
- Context factory properties
- Edit the properties for a context factory. Click Add to
add string properties to the context factory configuration.
- Connector properties
- Edit the properties for a connector. Click Add to
add string properties to the connector configuration. The product
supports the following connectors:
- JMS priority
- JMS delivery mode
- JMS time to live
Konfiguracja protokołu (WebSphere MQ)
Strona
konfiguracji WebSphere MQ
elementu testu służy do podawania informacji, które są wymagane przez
biblioteki serwera do wykonywania operacji wysyłania i odbierania transportu
WebSphere MQ.
Konfiguracja
MQ może być używana przez dowolne wywołanie komunikatu w teście. Jeśli w teście jest używanych wiele konfiguracji protokołu, należy podać
konfigurację w przypadku każdego wywołania komunikatu.
- Queue Manager
- Use this area to specify queue manager options for the service.
- Queue manager name
- Specify the name of the queue manager to which to send the request.
- Use local queue manager
- Select this option to use a local queue manager. If you disable
this option, specify the following information:
- Queue manager address
- Specify the IP address or host name of the remote WebSphere MQ server.
- Queue manager port
- Specify the listener port of the remote WebSphere MQ server.
- Client channel
- Specify the server-connection mode channel of the remote queue
manager.
- Queues
- Use this area to specify the send queue options for the service.
- Send queue name
- Specify the name of the queue that the queue manager manages.
- Use temporary queue for response
- Specifies whether the WebSphere MQ
server creates a temporary queue. If selected, the temporary queue
is created for the sole purpose of receiving specific messages, and
then deleted.
- Receive queue name
- If Use temporary queue is cleared, this
option specifies the queue manager that is specified on the Queue
manager name line. The specified queue manager must manage
this queue. You can specify multiple queue names by using a semicolon
(;) as a separator.
- Use RFH2 header
- Select whether to use the transport for SOAP over MQ feature that
is provided by WebSphere MQ.
This feature uses a predetermined MQ message format (RFH2); therefore,
when selected, other Message Descriptor options
are disabled.
- SSL connection
- Select this option to use an SSL configuration if a Client
Channel setting refers to a secure channel. Click Open
SSL Editor to create an SSL configuration or Change to
change the SSL configuration that is associated with the current test.
If
the WSDL that you use to create the message request uses a supported
JMS URI to point to the WebSphere MQ
server, then the SSL configuration is created automatically. If the
test generator is unable to create the SSL configuration, you must
create a new one manually.
If the WSDL is generated with the WebSphere MQ service (amqwdeployWMService),
you must edit the WSDL to change the transport binding from HTTP to
JMS to prevent the test generator from producing an HTTP configuration.
- Cipher suite
- Specify the cipher suite that is used in the channel configuration.
- Message Descriptor
- Configure the fields of the request. You can replace a subset
of an MQ message descriptor with a custom format for use with other
server types, specifically when using an XML message request. Refer
to WebSphere MQ documentation
for details about message descriptors.
- Use the Message Properties table to specify
the following MQ message properties:
- JMSXDeliveryCount
- JMSXGroupSeq
- JMS_IBM_Report_Exception
- JMS_IBM_Report_Expiration
- JMS_IBM_Report_COA
- JMS_IBM_Report_COD
- JMS_IBM_Report_PAN
- JMS_IBM_Report_NAN
- JMS_IBM_Report_Pass_Msg_ID
- JMS_IBM_Report_Pass_Correl_ID
- JMS_IBM_Report_Discard_Msg
- JMS_IBM_MsgType
- JMS_IBM_Feedback
- JMS_IBM_PutApplType
- JMS_IBM_Encoding
- JMS_IBM_Last_Msg_In_Group
For more information about these properties, refer to the IBM WebSphere MQ documentation.
- Target service
- When using Microsoft .NET
framework with the SOAP over MQ feature of WebSphere MQ, specify the name of the target
service for the WSDL.