이러한 페이지는 호출의 XML 컨텐츠를 표시하고 세 개의 다른 양식에서 데이터 상관에 대한 액세스를 제공합니다
In the Form view,
add the XML headers that are required for standard web service calls.
On the Header bar, click Add () to create the default XML header structure for WS-Addressing,
WS-ReliableMessaging or WS-Coordination requests, or click More for
other standards. You can enable or disable XML header elements and
specify the correct values for each XML element. Checks are performed
to ensure that the XML content is valid.
This view provides a hierarchical view of the XML structure of the message, including elements, namespaces, and the associated values. You can use Add, Insert, Remove, Up, and Down to edit the XML elements and namespaces in the tree.
Use Skip if Empty column to select the empty XML elements that you want to skip. This column is visible only if you selected the Display the 'Skip if Empty' column in XML tree viewer check box in .
Click Filter to hide or show namespace, attribute, or text nodes, depending on your requirements.
Click Allow only valid modifications to enable smart editing, based on a specified XML schema document (XSD). To specify a set of XSD documents for the workbench, in the test navigator, right-click the project and select Properties and Schema Catalog. Disable Allow only valid modifications if you do not have an XSD or if you want to bypass the schema.
You can right-click an XML element to convert it to an XML fragment. This enables you to perform data correlation (use datapools and create references) on the entire XML fragment instead of only on the value.
이 페이지는 호출에 첨부되는 MIME 첨부 파일을 나열합니다. 이 보기의 컨텐츠는 MINE(Multipurpose Internet Mail Extensions)의 스펙에 해당합니다. 이 페이지를 사용하여 MIME 첨부 파일로 워크벤치 자원을 추가하고 특성을 변경할 수 있습니다.
컨텐츠 ID는 호출이 첨부 파일을 참조하기 위해 사용하는 ID입니다. 이 ID를 사용하기 위한 방법은 서버 요구사항에 따라 다릅니다.
이 페이지는 호출을 전송하기 위해 사용되는 프로토콜을 커버합니다. 프로토콜은 HTTP 또는 JMS(Java™ Message Service)가 메시지별 기초에 있을 수 있습니다.
이 옵션에서 HTTP 1.0 또는 HTTP 1.1을 지정할 수 있습니다.
이 필드에서 XML 호출의 URL을 지정할 수 있습니다.
이 섹션에서 호출에 헤더를 추가할 수 있습니다. 헤더는 지정된 HTTP 메소드와 호환 가능해야 합니다.
이 섹션에서는 쿠키를 관리할 수 있습니다. 쿠키를 추가, 편집 및 제거하고 참조 사항을 작성할 수 있습니다.
이 페이지에서는 로컬 JMS 구성에 대한 호출에 첨부되는 문자열 특성을 추가할 수 있습니다. 이는 JMS를 통해 메시지 특성으로 전송됩니다.
이 페이지에서는 로컬 WebSphere® MQ 구성에 대한 호출에 첨부되는 설정을 대체할 수 있습니다.
호출 및 메시지 리턴은 MQ 메시지에서 상관 ID에 의해 연관됩니다. 이는 메시지의 보고서 설정이 MQC.MQRO_COPY_MSG_ID_TO_CORREL_ID로 설정된다는 의미입니다. 해당 서버는 이 제한조건을 따라야 합니다. 이는 WebSphere MQ에 의해 제공된 SOAP 기능에 대한 전송을 지원합니다.
메시지 호출을 작성하는데 사용되는 웹 서비스 설명 언어(WSDL)가 WebSphere MQ 서버를 지적하기 위해 지원되는 JMS URI를 사용하면, SSL 구성은 자동으로 작성됩니다. 테스트 생성기가 SSL 구성을 작성할 수 없으면, 수동으로 새로운 것을 작성해야 합니다.
WSDL이 WebSphere MQ 서비스(amqwdeployWMService)로 생성된 경우, 테스트 생성기가 HTTP 구성을 생산하는 것을 방지하도록 HTTP에서 JMS로 전송 바인딩을 변경하려면 WSDL을 편집하십시오.
이 페이지는 Java 클래스에서 구현되는 사용자 정의 보안 알고리즘을 추가할 수 있게 허용합니다. 사용자 정의 알고리즘은 서버로 전송되고 서버로부터 수신되는 XML 컨텐츠에 적용될 수 있습니다.
사용자 정의 보안 알고리즘을 스택에 추가한 후. 이 창으로, 알고리즘을 구현하는 Java 클래스를 지정할 수 있습니다. Java 클래스는 다음 인터페이스를 사용합니다.
/**
* ***************************************************************
* IBM Confidential
*
* (c) Copyright IBM Corporation. 2008. All Rights Reserved.
*
* The source code for this program is not published or otherwise
* divested of its trade secrets, irrespective of what has been
* deposited with the U.S. Copyright Office.
* ***************************************************************
*
*/
package com.ibm.rational.test.lt.models.wscore.datamodel.security.xmlsec;
import java.util.Properties;
import org.w3c.dom.Document;
public interface ICustomSecurityAlgorithm {
/**
* The following methods can be used in both case:
* Execution in the workbench and execution of the test.
*/
/**
* Called to process de Document that is sent over a transport.
* @param subject
*/
void process(Document subject);
/**
* Called to un process a document that is received from a server.
* @param subject
*/
void unProcess(Document subject);
/**
* Properties defined in the UI of the CustomSecurityAlgorithm.
* @param map
*/
void setProperties(Properties map);
/**
* The following methods can only be used in terms of cast to test service interface,
* or in terms of access to the previous XML information, when the jar containing
* the custom security algorithm is deployed in the performance test project. In
* this case you cannot use the algorimth directly from the workbench.
*/
/**
* This object corresponds to the ITestExecutionService object.
* This applies only to an algorithm that must link to the execution of the test.
* If you plan to use this object you will need to deploy the jar containing the
* implementation into your performance test project and not directly into the JRE.
*
* In case of a need of the previous xml document received from the execution you can
* obtain the value using:
* IDataArea area = ((ITestExecutionService)executionObject).findDataArea(IDataArea.VIRTUALUSER);
*String previousXML = (String) area.get("PREVIOUS_XML"); //$NON-NLS-1$
*
*/
void setExecutionContext(Object executionObject);