KR100496871B1 - Web service tester and method of testing web service - Google Patents

Web service tester and method of testing web service Download PDF

Info

Publication number
KR100496871B1
KR100496871B1 KR10-2002-0079565A KR20020079565A KR100496871B1 KR 100496871 B1 KR100496871 B1 KR 100496871B1 KR 20020079565 A KR20020079565 A KR 20020079565A KR 100496871 B1 KR100496871 B1 KR 100496871B1
Authority
KR
South Korea
Prior art keywords
web service
soap
service server
message
wsdl
Prior art date
Application number
KR10-2002-0079565A
Other languages
Korean (ko)
Other versions
KR20040051876A (en
Inventor
정문영
오수영
조현성
조현규
손덕주
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to KR10-2002-0079565A priority Critical patent/KR100496871B1/en
Publication of KR20040051876A publication Critical patent/KR20040051876A/en
Application granted granted Critical
Publication of KR100496871B1 publication Critical patent/KR100496871B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2736Tester hardware, i.e. output processing circuits using a dedicated service processor for test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Abstract

본 발명은 웹서비스 테스터 및 웹서비스 테스트 방법에 관한 것이다.The present invention relates to a web service tester and a web service test method.

본 발명은 웹서비스를 제공하는 웹서비스 서버의 웹서비스를 구현하거나 클라이언트 프로그램을 구현할 때, 내부적으로 구현한 웹서비스 또는 외부에서 제공하는 웹서비스의 WSDL 파일만으로 간단히 SOAP 요구 메시지를 만들어 웹서비스 서버에서 제공하는 웹서비스를 테스트하도록 되어 있으며,According to the present invention, when implementing a web service or a client program of a web service server that provides a web service, a SOAP request message is simply created by using a WSDL file of an internally implemented web service or an externally provided web service. To test the web services you provide,

이에 따라서, 웹서비스를 제공하려는 요구가 많아져 감에 따라서 웹서비스를 구현하는 데 있어서 웹서비스를 미리 테스트하기 위한 쉽고 편리한 테스트 환경을 제공하고, 웹서비스를 테스트하는데 있어서 사용자 입력을 쉽게 할 수 있도록 편리한 사용자 인터페이스를 자동 생성하여 주며, 스트레스 테스트로 서버의 성능 및 기능을 시험하는 효과가 있다.Accordingly, as the demand for providing a web service increases, it provides an easy and convenient test environment for testing the web service in advance in implementing the web service, and facilitates user input in testing the web service. It automatically creates a convenient user interface and has the effect of testing the performance and function of the server through stress testing.

Description

웹서비스 테스터 및 웹서비스 테스트 방법 { Web service tester and method of testing web service }Web service tester and method of testing web service}

본 발명은 웹서비스 테스터 및 웹서비스 테스트 방법에 관한 것이며, 보다 상세히는 웹서비스를 제공하는 웹서비스 서버의 웹서비스를 구현하거나 클라이언트 프로그램을 구현할 때 웹서비스의 WSDL 파일을 이용하여 웹서비스 서버에서 제공하는 웹서비스를 테스트하는 웹서비스 테스터 및 웹서비스 테스트 방법에 관한 것이다.The present invention relates to a web service tester and a web service test method, and more particularly, to implement a web service of a web service server providing a web service or to provide a web service using a WSDL file of the web service when implementing a client program. It relates to a web service tester and a web service test method for testing a web service.

웹서비스 기술은 기존의 분산된 서비스들을 HTTP와 XML(extensible Markup Language)을 이용하여 쉽고 유연하게 통합할 수 있는 기술로서, 다음 세대의 웹 환경으로 유망하다.Web service technology is a technology that can easily and flexibly integrate existing distributed services using HTTP and extensible markup language (XML), and is promising as the next generation web environment.

상기 웹서비스 기술은 통신 프로토콜로 HTTP 프로토콜을 사용하고, 데이터 기술 방법으로는 현재 범용 데이터 표현 언어의 표준으로 자리잡고 있는 XML을 사용한다.The web service technology uses the HTTP protocol as a communication protocol, and XML, which is currently a standard of a general data expression language, is used as a data description method.

또한, 웹서비스는 공지된 바와 같이, 세 가지 표준, 즉 XML 통신 프로토콜인 SOAP(Simple Object Access Protocol), 웹서비스 기술 언어인 WSDL(Web Service Description Language), 그리고 웹서비스 공유 저장소 표준인 UDDI(Universal Discovery, Description, and Integration)로 구성되며, 이 세 가지 기술 표준은 모두 XML과 HTTP를 기초로 하는 응용 기술들이다.In addition, web services are known as three standards, namely, Simple Object Access Protocol (SOAP), an XML communication protocol, Web Service Description Language (WSDL), a web service description language, and UDDI (Universal), a web service shared storage standard. Discovery, Description, and Integration), all three technical standards are application technologies based on XML and HTTP.

상기 SOAP은 분산된 환경에서의 통신 프로토콜로서, XML 메시지 형태나 메소드와 인자를 넘기거나 객체를 호출하는 RPC(Remote Procedure Call) 형태가 모두 가능하게 한다.The SOAP is a communication protocol in a distributed environment, and enables both an XML message type and a Remote Procedure Call (RPC) type for passing a method and an argument or calling an object.

상기 WSDL는 웹서비스 제공자가 해당 웹서비스의 정확한 인터페이스와 사용되는 데이타의 타입, 전송 프로토콜에 대한 상세한 정보를 기술하게 하는 XML 포맷이다.The WSDL is an XML format that allows a web service provider to describe detailed information about the exact interface of the web service, the type of data used, and the transport protocol.

상기 UDDI는 기업의 비즈니스와 서비스에 대한 정보를 구조화된 방법으로 수용하기 위해 설계된 공용 레지스트리로, 기업들은 외부에 공개된 UDDI 레지스트리에 자신들의 웹서비스를 등록하고 다른 기업에서 웹서비스를 찾고자 할 때 이를 검색할 수 있는 메커니즘을 제공한다.The UDDI is a common registry designed to receive information about a company's business and services in a structured way. When a company wants to register their web service in an externally-published UDDI registry and find a web service in another company, Provide a mechanism to search.

상기와 같이 구성되는 웹서비스의 동작 과정은 크게 세 가지로 나눌 수 있는데, 첫째는 서비스 제공자가 웹서비스를 개발하여 그 내용을 공개하는 과정, 둘째는 특정한 웹서비스가 필요한 서비스 사용자가 필요한 웹서비스를 찾는 과정, 셋째는 웹서비스 사용자가 찾은 웹서비스를 자신의 서버나 어플리케이션에 맞게 붙이는 과정이다. 이를 보다 자세히 설명하면, 서비스 제공자는 웹서비스에 대한 정보를 WSDL 파일에 기술하여 UDDI 브라우저에 등록하게 된다. 웹서비스 사용자는 UDDI 레지스트리를 검색하여 필요한 웹서비스에 대한 WSDL 파일을 찾아서, 웹서비스의 제공자 및 위치, 사용법 등에 대한 정보를 얻는다. 마지막으로 웹서비스 사용자는 제공자가 제공하는 웹서비스를 사용하기 위한 클라이언트 어플리케이션을 구현하여 사용한다.The operation process of the web service constituted as described above can be divided into three types. First, the process of developing a web service by a service provider and publishing its contents, and second, a web service requiring a service user requiring a specific web service. The third step is to find the web service that the web service user finds and attach it to his or her server or application. In more detail, the service provider registers information about a web service in a WSDL file and registers it in a UDDI browser. The web service user searches the UDDI registry to find the WSDL file for the required web service and obtains information about the provider, location, and usage of the web service. Finally, the web service user implements and uses the client application to use the web service provided by the provider.

한편, 현재의 웹서비스 기술은 기존의 환경들을 빠르게 대체해 가고 있으며, 웹서비스 개발 툴킷 및 관련 솔루션들이 속속 등장하고 있다.Meanwhile, current web services technology is rapidly replacing existing environments, and web service development toolkits and related solutions are appearing one after another.

하지만, 아직은 기술 개발 단계로써 웹서비스 응용 프로그램의 효과적인 개발을 위해서는 보다 다양한 개발 툴들이 요구되고 있다.However, as a technology development stage, more development tools are required for effective development of web service applications.

따라서, 본 출원인은 웹서비스 기술을 더욱더 향상시키기 위하여 새로운 웹서비스 테스터 및 웹서비스 테스트 방법을 개발하게 되었으며, 본 발명의 목적은 웹서비스를 제공하는 웹서비스 서버의 웹서비스를 구현하거나 클라이언트 프로그램을 구현할 때, 웹서비스의 WSDL 파일만으로 간단히 SOAP 요구 메시지를 만들어 웹서비스 서버에서 제공하는 웹서비스를 테스트하는 웹서비스 테스터 및 웹서비스 테스트 방법을 제공하는데 있다.Accordingly, the present applicant has developed a new web service tester and a web service test method to further improve the web service technology. An object of the present invention is to implement a web service or a client program of a web service server that provides a web service. It is to provide a web service tester and a web service test method for testing a web service provided by a web service server by simply creating a SOAP request message using only a web service's WSDL file.

상기 본 발명의 목적을 달성하기 위한 웹서비스 테스터는, 사용자가 테스트하고자 하는 복수의 WSDL 파일을 표시하고, WSDL 파일에 따라 생성된 요구에 대해서 사용자가 테스트하고자 하는 서비스, 포트, 오퍼레이션을 선택할 수 있으며, 사용자가 선택된 오퍼레이션에 따른 파라미터를 입력할 수 있고, 오퍼레이션에 따른 파라미터에 따라 생성한 SOAP 요구 메시지와 이 SOAP 요구 메시지에 대한 웹서비스 서버의 SOAP 응답 메시지를 표시하며, 웹서비스 서버의 스트레스 테스트 요구와 그 결과를 표시하는 사용자 인터페이스와; 테스트하기 위한 웹서비스에 대한 WSDL 파일을 웹서비스를 제공하는 웹서비스 서버로부터 입력받아 테스트를 위한 새로운 요구(Request)를 생성하고, 생성된 요구에 대해서 사용자가 상기 사용자 인터페이스를 통하여 테스트하고자 하는 서비스, 포트, 오퍼레이션을 입력한 후 선택된 오퍼레이션에 따른 파라미터를 입력할 수 있도록 지원하는 WSDL 처리 모듈; 및 상기 사용자 인터페이스를 통해 입력받은 오퍼레이션에 따른 파라미터에 따라 SOAP 요구 메시지를 생성하여 웹서비스 서버로 전송한 후 웹서비스 서버의 SOAP 응답 메시지를 받아 사용자 인터페이스를 통해 표시하고, 생성된 SOAP 요구 메시지를 웹서비스 서버로 연속적으로 전송하여 웹서비스 서버의 스트레스 테스트를 하며, 상기 웹서비스 서버와 주고받는 메시지를 테스트나 디버깅을 위하여 기록하는 메시지 처리 모듈로 구성된다.Web service tester for achieving the object of the present invention, the user can display a plurality of WSDL files to test, and can select the service, port, operation that the user wants to test for the request generated according to the WSDL file, The user can input parameters according to the selected operation, display the SOAP request message generated according to the parameter according to the operation and the SOAP response message of the web service server for the SOAP request message, and request the stress test of the web service server. And a user interface for displaying the result; A service that a user wants to test through the user interface for generating a new request for a test by receiving a WSDL file for a web service for testing from a web service server providing a web service, A WSDL processing module for inputting a port and an operation and then inputting a parameter according to the selected operation; And generating a SOAP request message according to the parameter according to the operation input through the user interface, transmitting the SOAP request message to the web service server, receiving the SOAP response message of the web service server, displaying the SOAP request message on the user interface, and displaying the generated SOAP request message on the web. It consists of a message processing module that continuously transmits to the service server to the stress test of the web service server, and records the messages sent and received with the web service server for testing or debugging.

상기 본 발명의 목적을 달성하기 위한 웹서비스 테스트 방법은, 웹서비스 테스터가 테스트하기 위한 웹서비스에 대한 WSDL 파일을 웹서비스를 제공하는 웹서비스 서버로부터 입력받는 단계와; 입력받은 WSDL 파일을 열어서 테스트를 위한 새로운 요구(Request)를 생성하는 단계; 입력받은 WSDL 파일에 따라 생성된 요구에 대해서 사용자가 테스트하고자 하는 서비스, 포트, 오퍼레이션을 사용자 인터페이스를 통해 입력받는 단계; 선택된 오퍼레이션에 따른 파라미터를 사용자 인터페이스를 통해 입력받는 단계; 입력받은 오퍼레이션에 따른 파라미터에 따라 SOAP 요구 메시지를 생성하는 단계; 생성된 SOAP 요구 메시지를 웹서비스 서버로 전송한 후 웹서비스 서버로부터 SOAP 응답 메시지를 받아 사용자 인터페이스를 통해 표시하는 단계; 및 생성된 SOAP 요구 메시지를 웹서비스 서버로 연속적으로 전송하여 웹서비스 서버의 스트레스 테스트를 하는 단계로 이루어진다.The web service test method for achieving the object of the present invention comprises the steps of: receiving a WSDL file for a web service for testing by a web service tester from a web service server providing a web service; Creating a new request for testing by opening the input WSDL file; Receiving a service, a port, and an operation to be tested by the user for a request generated according to the received WSDL file through a user interface; Receiving a parameter according to the selected operation through a user interface; Generating a SOAP request message according to a parameter according to an input operation; Transmitting the generated SOAP request message to the web service server and receiving the SOAP response message from the web service server and displaying the SOAP response message through the user interface; And successively transmitting the generated SOAP request message to the web service server to perform a stress test of the web service server.

이하, 본 발명에 따른 실시예를 첨부한 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1과 도 2를 참조하면, 본 발명에 따른 웹서비스 테스터(100)는, 웹서비스 서버(200)가 웹서비스 제공자의 프로파일 및 서비스하는 웹서비스의 기술적 요소를 기술한 WSDL 파일을 UDDI 레지스트리(300)에 업로드하여 등록하고 나면, 이 UDDI 레지스트리(300)로부터 테스트하기 위한 WSDL 파일을 검색하여 다운로드받은 후 SOAP 요구 메시지를 웹서비스 서버(200)로 전송하여 SOAP 응답 메시지를 받아 표시한다.1 and 2, the web service tester 100 according to the present invention includes a WSDL file describing a technical profile of a web service serviced by the web service server 200 and a web service server 200. After uploading and registering to 300, the UDDI registry 300 retrieves and downloads a WSDL file for testing and transmits a SOAP request message to the web service server 200 to receive and display a SOAP response message.

이때, 상기 웹서비스 테스터(100)는 UDDI 레지스트리(300)를 사용하지 않고, 로컬 하드 디스크에 저장되어 있는 WSDL 파일을 열 수도 있다.In this case, the web service tester 100 may open a WSDL file stored in a local hard disk without using the UDDI registry 300.

상기 웹서비스 테스터(100)는 사용자 인터페이스(10)와, WSDL 처리 모듈(20), 및 메시지 처리 모듈(30)로 구성된다.The web service tester 100 includes a user interface 10, a WSDL processing module 20, and a message processing module 30.

상기 사용자 인터페이스(10)의 프로젝트 관리 윈도우(11)는 사용자가 테스트하고자 하는 복수의 WSDL 파일을 프로젝트 단위로 묶어서 관리할 수 있도록 복수의 WSDL 파일을 프로젝트 단위로 표시한다.The project management window 11 of the user interface 10 displays a plurality of WSDL files in project units so that a user can manage a plurality of WSDL files to be tested in a project unit.

상기 사용자 인터페이스(10)의 WSDL 파라미터 윈도우(12)는 사용자가 WSDL 파일에 따라 생성된 요구에 대해서 테스트하고자 하는 서비스, 포트, 오퍼레이션을 선택할 수 있다.The WSDL parameter window 12 of the user interface 10 may select a service, a port, and an operation that a user wants to test for a request generated according to a WSDL file.

상기 사용자 인터페이스(10)의 오퍼레이션 파라미터 윈도우(13)는 사용자가 선택된 오퍼레이션에 따른 파라미터를 입력할 수 있다.The operation parameter window 13 of the user interface 10 may input a parameter according to the operation selected by the user.

상기 사용자 인터페이스(10)의 SOAP 메시지 윈도우(14)는 오퍼레이션에 따른 파라미터에 따라 생성한 SOAP 요구 메시지와 이 SOAP 요구 메시지에 대한 웹서비스 서버(200)의 SOAP 응답 메시지를 표시한다.The SOAP message window 14 of the user interface 10 displays the SOAP request message generated according to the parameter according to the operation and the SOAP response message of the web service server 200 for the SOAP request message.

상기 사용자 인터페이스(10)의 스트레스 테스트 윈도우(15)는 웹서비스 서버(200)의 스트레스 테스트 요구와 그 결과를 표시한다.The stress test window 15 of the user interface 10 displays the stress test request and the result of the web service server 200.

상기 사용자 인터페이스(10)의 윈도우 관리모듈(16)은 상기 윈도우들을 관리한다.The window management module 16 of the user interface 10 manages the windows.

상기 WSDL 처리 모듈(20)의 WSDL 파일 처리 모듈(21)은 테스트하기 위한 웹서비스에 대한 WSDL 파일을 웹서비스를 제공하는 웹서비스 서버(200)로부터 입력받아 테스트를 위한 새로운 요구(Request)를 생성한다. 이때, 상기 WSDL 파일 처리 모듈(21)은 상기 로컬 하드 디스크로부터 WSDL 파일을 입력받을 수도 있다.The WSDL file processing module 21 of the WSDL processing module 20 receives a WSDL file for a web service for testing from a web service server 200 providing a web service and generates a new request for testing. do. In this case, the WSDL file processing module 21 may receive a WSDL file from the local hard disk.

상기 WSDL 처리 모듈(20)의 WSDL 파라미터 처리 모듈(22)은 입력받은 WSDL 파일에 따라 생성된 요구에 대해서 사용자가 상기 사용자 인터페이스를 통하여 테스트하고자 하는 서비스, 포트, 오퍼레이션을 입력한 후 선택된 오퍼레이션에 따른 파라미터를 입력할 수 있도록 지원한다.The WSDL parameter processing module 22 of the WSDL processing module 20 inputs a service, a port, an operation that a user wants to test through the user interface for a request generated according to the input WSDL file, and then, according to the selected operation. It supports the input of parameters.

상기 메시지 처리 모듈(30)의 SOAP 메시지 생성 모듈(31)은 상기 사용자 인터페이스(10)를 통해 입력받은 오퍼레이션에 따른 파라미터에 따라 SOAP 요구 메시지를 생성한다.The SOAP message generating module 31 of the message processing module 30 generates a SOAP request message according to a parameter according to an operation input through the user interface 10.

상기 메시지 처리 모듈(30)의 SOAP 메시지 트랜스포트(32)는 생성된 SOAP 요구 메시지를 웹서비스 서버(200)로 전송한 후 웹서비스 서버(200)로부터 SOAP 응답 메시지를 받아 사용자 인터페이스를 통해 표시한다.The SOAP message transport 32 of the message processing module 30 transmits the generated SOAP request message to the web service server 200 and receives the SOAP response message from the web service server 200 and displays it through the user interface. .

상기 메시지 처리 모듈(30)의 스트레스 테스트 모듈(33)은 생성된 SOAP 요구 메시지를 웹서비스 서버(200)로 연속적으로 전송하여 웹서비스 서버(200)의 스트레스 테스트를 하고 상기 사용자 인터페이스를 통하여 웹서비스 서버(200)의 스트레스 테스트 요구와 그 결과를 표시한다.The stress test module 33 of the message processing module 30 continuously transmits the generated SOAP request message to the web service server 200 to perform a stress test of the web service server 200 and the web service through the user interface. The stress test request and the result of the server 200 are displayed.

상기 메시지 처리 모듈(30)의 메시지 로깅 모듈(34)은 SOAP 메시지 트랜스포트(32)를 통하여 웹서비스 서버(200)와 주고받는 메시지를 테스트나 디버깅을 위하여 기록한다.The message logging module 34 of the message processing module 30 records a message exchanged with the web service server 200 through the SOAP message transport 32 for testing or debugging.

상기와 같이 구성되는 본 발명에 따른 웹서비스 테스터(100)는 다음과 같이 작동한다.Web service tester 100 according to the present invention configured as described above operates as follows.

도 3을 참조하면, 웹서비스를 테스트하기 위하여 상기 웹서비스 테스터(100)는 가장 먼저, 테스트를 위한 웹서비스에 대한 WSDL 파일을 웹서비스를 제공하는 웹서비스 서버(200)로부터 입력받은 후(S10), 입력받은 WSDL 파일을 열어서 테스트를 위한 새로운 요구(Request)를 생성한다(S20).Referring to FIG. 3, the web service tester 100 first receives a WSDL file for a web service for testing from a web service server 200 that provides a web service (S10). ), And creates a new request (Test) for the test by opening the input WSDL file (S20).

이때, 테스트를 위한 새로운 요구(Request)는 WSDL 파일에 기술된 오퍼레이션 하나 당 여러 개가 생성될 수 있다.In this case, several new requests for testing may be generated per operation described in the WSDL file.

이어서, 상기 웹서비스 테스터(100)는 입력받은 WSDL 파일에 따라 생성된 요구에 대해서 사용자가 테스트하고자 하는 서비스, 포트, 오퍼레이션을 도 4에 도시된 바와 같은 사용자 인터페이스(10)의 WSDL 파라미터 윈도우(12)를 통해 입력받은 후(S30), 선택된 오퍼레이션에 따른 파라미터를 도 5에 도시된 바와 같은 사용자 인터페이스(10)의 오퍼레이션 파라미터 윈도우(13)를 통해 입력받는다(S40).Subsequently, the web service tester 100 checks the service, port, and operation that the user wants to test for the request generated according to the input WSDL file. The WSDL parameter window 12 of the user interface 10 as shown in FIG. After receiving the input through S30, the parameter according to the selected operation is received through the operation parameter window 13 of the user interface 10 as shown in FIG. 5 (S40).

이때, 도 4에 도시된 WSDL 파라미터 윈도우(12)의 왼쪽 창은 프로젝트 관리 윈도우(11)로서 테스트하고자 하는 복수의 WSDL 파일을 프로젝트 단위로 표시하고, 오른쪽 창은 실제 WSDL 파라미터 윈도우(12)로서 WSDL 파일의 내용에 따라서 서비스(Service), 포트(Port), 오퍼레이션(Operation)은 콤보 박스를 이용하여 선택할 수 있게 하고, 서비스의 로케이션(Location)은 서비스에 따라 선택되어 편집할 수 없는 텍스트로 보여주며, Soap 액션(Action)과 Soap 타입(Type)도 편집할 수 없는 텍스트로 보여준다.At this time, the left window of the WSDL parameter window 12 shown in FIG. 4 displays the plurality of WSDL files to be tested as project units as the project management window 11, and the right window shows the WSDL as the actual WSDL parameter window 12. Depending on the contents of the file, the service, port, and operation can be selected using a combo box, and the location of the service is selected according to the service and displayed as uneditable text. , Soap Action and Soap Type are also shown as non-editable text.

또한, 도 5에 도시된 오퍼레이션 파라미터 윈도우(13)는 도 4의 화면구성에서 서비스, 포트, 오퍼레이션을 선택한 후(S30), 다음 단계(S40)로 넘어 갔을 때의 화면 구성을 보여주며, 도 5에 도시된 오퍼레이션 파라미터 윈도우(13)의 왼쪽 창은 프로젝트 관리 윈도우(11)이다. 이때, 상기 오퍼레이션 파라미터 윈도우(13)는 파라미터의 타입에 따라 자동으로 스트링이나 프리미티브(primitive) 타입은 텍스트폼으로, 스트링이나 프리미티브 타입의 배열 타입은 테이블폼으로, 스트링이나 프리미티브 타입의 스트럭쳐는 텍스트 폼의 중첩된 폼으로 생성한다.In addition, the operation parameter window 13 shown in FIG. 5 shows a screen configuration when the service, port, and operation are selected in the screen configuration of FIG. 4 (S30), and the process proceeds to the next step (S40). The left window of the operation parameter window 13 shown in the drawing is the project management window 11. In this case, the operation parameter window 13 automatically forms a string or primitive type as a text form, an array type of a string or primitive type as a table form, and a structure of the string or primitive type as a text form. Create a nested form of.

상기와 같이 사용자 인터페이스(10)의 오퍼레이션 파라미터 윈도우(13)를 통해 선택된 오퍼레이션에 따른 파라미터를 입력받고 나면(S40), 상기 웹서비스 테스터(100)는 입력받은 오퍼레이션에 따른 파라미터에 따라 SOAP 요구 메시지를 생성한 다음(S50), 생성된 SOAP 요구 메시지를 웹서비스 서버(200)로 전송한 후(S60), 웹서비스 서버(200)로부터 SOAP 응답 메시지를 받아(S70) 사용자 인터페이스(10)를 통해 표시한다(S80).After receiving the parameters according to the selected operation through the operation parameter window 13 of the user interface 10 as described above (S40), the web service tester 100 is a SOAP request message according to the parameters according to the input operation After generating (S50), the generated SOAP request message is transmitted to the web service server 200 (S60), and receives the SOAP response message from the web service server 200 (S70) and displayed through the user interface 10. (S80).

이때, 상기 메시지 처리 모듈(30)의 SOAP 메시지 생성 모듈(31)은 입력받은 파라미터와 WSDL 파일을 이용하여 SOAP 요구 메시지를 자동으로 생성하며, 자동으로 생성된 SOAP 요구 메시지와 SOAP 응답 메시지는 도 6에 도시된 SOAP 메시지 윈도우(14)의 오른 쪽 창의 왼쪽 프레임과 오른쪽 프레임에 각각 SOAP XML 문서로 표시된다. 참고로, 도 6에 도시된 SOAP 메시지 윈도우(14)의 왼쪽 창은 프로젝트 관리 윈도우(11)이다.In this case, the SOAP message generating module 31 of the message processing module 30 automatically generates a SOAP request message using the input parameters and the WSDL file, and the automatically generated SOAP request message and the SOAP response message are shown in FIG. 6. The left and right frames of the right window of the SOAP message window 14 shown in FIG. For reference, the left window of the SOAP message window 14 shown in FIG. 6 is the project management window 11.

상기와 같이 SOAP 응답 메시지가 SOAP 메시지 윈도우(14)에 표시되고 나면, 사용자는 계속해서 생성된 SOAP 요구 메시지를 웹서비스 서버(200)로 연속적으로 전송하여 웹서비스 서버(200)의 스트레스 테스트를 한다(S90).After the SOAP response message is displayed in the SOAP message window 14 as described above, the user continuously transmits the generated SOAP request message to the web service server 200 to perform a stress test of the web service server 200. (S90).

이때, 상기 스트레스 테스트 모듈(33)은 웹서비스 서버(200)에 대한 스트레스 테스트를 하면서 도 7에 도시된 바와 같이, 스트레스 테스트 윈도우(15)를 통하여 생성된 SOAP 요구 메시지에 대해서 반복 회수를 입력받을 수 있게 하고, SOAP 요구 메시지를 입력받은 반복 회수만큼 연속적으로 전송한 뒤 그 결과를 받아, 보낸 요구 메시지의 개수와 받은 응답 메시지의 개수를 프로그래스(progress) 바로 보여주고, 각각 요구 메시지를 보낸 시간과 응답 메시지를 받은 시간, 보낸 요구 메시지의 크기, 받은 응답 메시지의 크기, 총 보낸 요구 메시지의 개수, 총 받은 응답 메시지의 개수, 요구 메시지들을 보낸 총 시간, 응답 메시지들을 받은 총 시간, 응답 메시지가 도착한 평균 시간을 사용자에게 보여준다.In this case, the stress test module 33 receives a repetition number for the SOAP request message generated through the stress test window 15 as shown in FIG. 7 while performing a stress test on the web service server 200. Send the SOAP request message continuously as many times as the number of iterations received and receive the result, and show the number of request messages sent and the number of response messages received, and the time each request message was sent. And the time the response message was received, the size of the request message sent, the size of the response message received, the total number of request messages sent, the total number of response messages received, the total time the request messages were sent, the total time the response messages were received, Show the user the average time of arrival.

상술한 바와 같이 본 발명에 따른 웹서비스 테스터 및 웹서비스 테스트 방법은 웹서비스를 제공하는 웹서비스 서버의 웹서비스를 구현하거나 클라이언트 프로그램을 구현할 때, 내부적으로 구현한 웹서비스 또는 외부에서 제공하는 웹서비스의 WSDL 파일만으로 간단히 SOAP 요구 메시지를 만들어 웹서비스 서버에서 제공하는 웹서비스를 테스트하도록 되어 있기 때문에, 웹서비스를 제공하려는 요구가 많아져 감에 따라서 웹서비스를 구현하는 데 있어서 웹서비스를 미리 테스트하기 위한 쉽고 편리한 테스트 환경을 제공하고, 웹서비스를 테스트하는데 있어서 사용자 입력을 쉽게 할 수 있도록 편리한 사용자 인터페이스를 자동 생성하여 주며, 스트레스 테스트로 서버의 성능 및 기능을 시험하는 효과가 있다.As described above, the web service tester and the web service test method according to the present invention implement a web service of a web service server that provides a web service or implement a client program. Since a simple SOAP request message is created to test a web service provided by a web service server, the web service is implemented in advance in implementing a web service as the demand for providing a web service increases. It provides an easy and convenient test environment, automatically generates a convenient user interface for easy user input when testing web services, and has the effect of testing the performance and function of the server through stress testing.

이상에서 설명한 것은 본 발명에 따른 웹서비스 테스터 및 웹서비스 테스트 방법을 실시하기 위한 하나의 실시예에 불과한 것으로서, 본 발명은 상기한 실시예에 한정되지 않고, 이하의 특허청구의 범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변경 실시가 가능한 범위까지 본 발명의 기술적 정신이 있다고 할 것이다.What has been described above is only one embodiment for implementing a web service tester and a web service test method according to the present invention, and the present invention is not limited to the above-described embodiment, and the present invention is claimed in the following claims. Without departing from the gist of the invention, anyone of ordinary skill in the art to which the present invention will have the technical spirit of the present invention to the extent that various modifications can be made.

도 1은 본 발명에 따른 웹서비스 테스터를 도시한 구성도,1 is a block diagram showing a web service tester according to the present invention,

도 2는 본 발명에 따른 웹서비스 테스터의 동작 상태를 도시한 블록도,2 is a block diagram showing an operation state of a web service tester according to the present invention;

도 3은 본 발명에 따른 웹서비스 테스트 방법을 도시한 흐름도,3 is a flowchart illustrating a web service test method according to the present invention;

도 4는 본 발명에 따른 웹서비스 테스터의 사용자 인터페이스에서 제공하4 is provided by a user interface of a web service tester according to the present invention.

는 WSDL 파라미터 윈도우를 도시한 화면,Shows a screen showing the WSDL parameter window,

도 5는 본 발명에 따른 웹서비스 테스터의 사용자 인터페이스에서 제공하는5 is provided by a user interface of a web service tester according to the present invention.

오퍼레이션 파라미터 윈도우를 도시한 화면, Screen showing the operation parameter window,

도 6은 본 발명에 따른 웹서비스 테스터의 사용자 인터페이스에서 제공하는6 is provided by a user interface of a web service tester according to the present invention.

SOAP 메시지 윈도우를 도시한 화면, Screen showing a SOAP message window,

도 7은 본 발명에 따른 웹서비스 테스터의 사용자 인터페이스에서 제공하는7 is provided by a user interface of a web service tester according to the present invention.

스트레스 테스트 윈도우를 도시한 화면이다. This screen shows the stress test window.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

10: 사용자 인터페이스 11: 프로젝트 관리 윈도우10: User Interface 11: Project Management Window

12: WSDL 파라미터 윈도우 13: 오퍼레이션 파라미터 윈도우12: WSDL Parameter Window 13: Operation Parameter Window

14: SOAP 메시지 윈도우 15: 스트레스 테스트 윈도우14: SOAP Message Window 15: Stress Test Window

16: 윈도우 관리 모듈 20: WSDL 처리 모듈16: Window Management Module 20: WSDL Processing Module

21: WSDL 파일 처리 모듈 22: WSDL 파라미터 처리 모듈21: WSDL file processing module 22: WSDL parameter processing module

30: 메시지 처리 모듈 31: SOAP 메시지 생성 모듈30: Message Processing Module 31: SOAP Message Generation Module

32: SOAP 메시지 트랜스포트 33: 스트레스 테스트 모듈32: SOAP message transport 33: stress test module

34: 메시지 로깅 모듈 100: 웹서비스 테스터34: Message Logging Module 100: Web Services Tester

200: 웹서비스 서버 300: UDDI 레지스트리200: web service server 300: UDDI registry

Claims (5)

사용자가 테스트하고자 하는 복수의 WSDL 파일을 표시하고, WSDL 파일에 따라 생성된 요구에 대해서 사용자가 테스트하고자 하는 서비스, 포트, 오퍼레이션을 선택할 수 있으며, 사용자가 선택된 오퍼레이션에 따른 파라미터를 입력할 수 있고, 오퍼레이션에 따른 파라미터에 따라 생성한 SOAP 요구 메시지와 이 SOAP 요구 메시지에 대한 웹서비스 서버의 SOAP 응답 메시지를 표시하며, 웹서비스 서버의 스트레스 테스트 요구와 그 결과를 표시하는 사용자 인터페이스와;You can display multiple WSDL files that you want to test, select the services, ports, and operations you want to test for requests created according to the WSDL files, and you can enter parameters according to the selected operations. A user interface for displaying a SOAP request message generated according to a parameter according to an operation and a SOAP response message of a web service server for the SOAP request message, and for displaying a stress test request and a result of the web service server; 테스트하기 위한 웹서비스에 대한 WSDL 파일을 웹서비스를 제공하는 웹서비스 서버로부터 입력받아 테스트를 위한 새로운 요구(Request)를 생성하고, 생성된 요구에 대해서 사용자가 상기 사용자 인터페이스를 통하여 테스트하고자 하는 서비스, 포트, 오퍼레이션을 입력한 후 선택된 오퍼레이션에 따른 파라미터를 입력할 수 있도록 지원하는 WSDL 처리 모듈; 및A service that a user wants to test through the user interface for generating a new request for a test by receiving a WSDL file for a web service for testing from a web service server providing a web service, A WSDL processing module for inputting a port and an operation and then inputting a parameter according to the selected operation; And 상기 사용자 인터페이스를 통해 입력받은 오퍼레이션에 따른 파라미터에 따라 SOAP 요구 메시지를 생성하여 웹서비스 서버로 전송한 후 웹서비스 서버의 SOAP 응답 메시지를 받아 사용자 인터페이스를 통해 표시하고, 생성된 SOAP 요구 메시지를 웹서비스 서버로 연속적으로 전송하여 웹서비스 서버의 스트레스 테스트를 하며, 상기 웹서비스 서버와 주고받는 메시지를 테스트나 디버깅을 위하여 기록하는 메시지 처리 모듈Generates a SOAP request message according to the parameters according to the operation input through the user interface, transmits it to the web service server, receives the SOAP response message from the web service server, displays it through the user interface, and displays the generated SOAP request message as a web service. A message processing module that continuously transmits to the server to perform a stress test of the web service server, and records the messages exchanged with the web service server for testing or debugging. 로 구성되는 것을 특징으로 하는 웹서비스 테스터.Web service tester, characterized in that consisting of. 제 1 항에 있어서, 상기 사용자 인터페이스는The method of claim 1, wherein the user interface is 사용자가 테스트하고자 하는 복수의 WSDL 파일을 프로젝트 단위로 묶어서 관리할 수 있도록 복수의 WSDL 파일을 프로젝트 단위로 표시하는 프로젝트 관리 윈도우와;A project management window for displaying a plurality of WSDL files in project units so that a user can manage a plurality of WSDL files to be tested in a project unit; 사용자가 WSDL 파일에 따라 생성된 요구에 대해서 테스트하고자 하는 서비스, 포트, 오퍼레이션을 선택할 수 있는 WSDL 파라미터 윈도우;A WSDL parameter window that allows a user to select a service, port, and operation to test against a request generated according to a WSDL file; 사용자가 선택된 오퍼레이션에 따른 파라미터를 입력할 수 있는 오퍼레이션 파라미터 윈도우;An operation parameter window in which a user can input a parameter according to the selected operation; 오퍼레이션에 따른 파라미터에 따라 생성한 SOAP 요구 메시지와 이 SOAP 요구 메시지에 대한 웹서비스 서버의 SOAP 응답 메시지를 표시하는 SOAP 메시지 윈도우;A SOAP message window displaying a SOAP request message generated according to a parameter according to an operation and a SOAP response message of a web service server for the SOAP request message; 웹서비스 서버의 스트레스 테스트 요구와 그 결과를 표시하는 스트레스 테스트 윈도우; 및A stress test window for displaying a stress test request and a result of the web service server; And 상기 윈도우들을 관리하는 윈도우 관리모듈A window management module for managing the windows 로 구성되는 것을 특징으로 하는 웹서비스 테스터.Web service tester, characterized in that consisting of. 제 1 항에 있어서, 상기 WSDL 처리 모듈은The method of claim 1, wherein the WSDL processing module 테스트하기 위한 웹서비스에 대한 WSDL 파일을 웹서비스를 제공하는 웹서비스 서버로부터 입력받아 테스트를 위한 새로운 요구(Request)를 생성하는 WSDL 파일 처리 모듈; 및A WSDL file processing module for receiving a WSDL file for a web service for testing from a web service server providing a web service and generating a new request for testing; And 입력받은 WSDL 파일에 따라 생성된 요구에 대해서 사용자가 상기 사용자 인터페이스를 통하여 테스트하고자 하는 서비스, 포트, 오퍼레이션을 입력한 후 선택된 오퍼레이션에 따른 파라미터를 입력할 수 있도록 지원하는 WSDL 파라미터 처리 모듈WSDL parameter processing module that supports the user to input the service, port and operation to test through the user interface for the request generated according to the input WSDL file and then input the parameters according to the selected operation 로 구성되는 것을 특징으로 하는 웹서비스 테스터.Web service tester, characterized in that consisting of. 제 1 항에 있어서, 상기 메시지 처리 모듈은The method of claim 1, wherein the message processing module 상기 사용자 인터페이스를 통해 입력받은 오퍼레이션에 따른 파라미터에 따라 SOAP 요구 메시지를 생성하는 SOAP 메시지 생성 모듈과;A SOAP message generating module for generating a SOAP request message according to a parameter according to an operation received through the user interface; 생성된 SOAP 요구 메시지를 웹서비스 서버로 전송한 후 웹서비스 서버로부터 SOAP 응답 메시지를 받아 사용자 인터페이스를 통해 표시하는 SOAP 메시지 트랜스포트;A SOAP message transport for transmitting the generated SOAP request message to the web service server and receiving a SOAP response message from the web service server and displaying the same through a user interface; 생성된 SOAP 요구 메시지를 웹서비스 서버로 연속적으로 전송하여 웹서비스 서버의 스트레스 테스트를 하고 상기 사용자 인터페이스를 통하여 웹서비스 서버의 스트레스 테스트 요구와 그 결과를 표시하는 스트레스 테스트 모듈; 및A stress test module configured to continuously transmit the generated SOAP request message to a web service server, perform a stress test of the web service server, and display a stress test request and a result of the web service server through the user interface; And 상기 SOAP 메시지 트랜스포트를 통하여 웹서비스 서버와 주고받는 메시지를 테스트나 디버깅을 위하여 기록하는 메시지 로깅 모듈Message logging module for recording or sending messages to and from the web service server through the SOAP message transport for testing or debugging 로 구성되는 것을 특징으로 하는 웹서비스 테스터.Web service tester, characterized in that consisting of. 웹서비스 테스터가 테스트하기 위한 웹서비스에 대한 WSDL 파일을 웹서비스를 제공하는 웹서비스 서버로부터 입력받는 단계와;Receiving a WSDL file for a web service for testing by a web service tester from a web service server providing a web service; 입력받은 WSDL 파일을 열어서 테스트를 위한 새로운 요구(Request)를 생성하는 단계;Creating a new request for testing by opening the input WSDL file; 입력받은 WSDL 파일에 따라 생성된 요구에 대해서 사용자가 테스트하고자 하는 서비스, 포트, 오퍼레이션을 사용자 인터페이스를 통해 입력받는 단계;Receiving a service, a port, and an operation to be tested by the user for a request generated according to the received WSDL file through a user interface; 선택된 오퍼레이션에 따른 파라미터를 사용자 인터페이스를 통해 입력받는 단계;Receiving a parameter according to the selected operation through a user interface; 입력받은 오퍼레이션에 따른 파라미터에 따라 SOAP 요구 메시지를 생성하는 단계;Generating a SOAP request message according to a parameter according to an input operation; 생성된 SOAP 요구 메시지를 웹서비스 서버로 전송한 후 웹서비스 서버로부터 SOAP 응답 메시지를 받아 사용자 인터페이스를 통해 표시하는 단계; 및Transmitting the generated SOAP request message to the web service server and receiving the SOAP response message from the web service server and displaying the SOAP response message through the user interface; And 생성된 SOAP 요구 메시지를 웹서비스 서버로 연속적으로 전송하여 웹서비스 서버의 스트레스 테스트를 하는 단계Stress test of the web service server by continuously sending the generated SOAP request message to the web service server 로 이루어지는 것을 특징으로 하는 웹서비스 테스트 방법.Web service test method comprising the.
KR10-2002-0079565A 2002-12-13 2002-12-13 Web service tester and method of testing web service KR100496871B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0079565A KR100496871B1 (en) 2002-12-13 2002-12-13 Web service tester and method of testing web service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0079565A KR100496871B1 (en) 2002-12-13 2002-12-13 Web service tester and method of testing web service

Publications (2)

Publication Number Publication Date
KR20040051876A KR20040051876A (en) 2004-06-19
KR100496871B1 true KR100496871B1 (en) 2005-06-22

Family

ID=37345673

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0079565A KR100496871B1 (en) 2002-12-13 2002-12-13 Web service tester and method of testing web service

Country Status (1)

Country Link
KR (1) KR100496871B1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4228204B2 (en) * 2003-07-07 2009-02-25 セイコーエプソン株式会社 Manufacturing method of organic transistor
KR100697155B1 (en) * 2004-12-03 2007-03-21 (주)엠투소프트 System and method for forming report using web service
KR100703754B1 (en) * 2005-04-15 2007-04-06 삼성전자주식회사 Apparatus and method for processing web service
KR100759815B1 (en) * 2005-12-08 2007-09-20 한국전자통신연구원 Method for pathtoken-based web wervcie caching
US8495613B2 (en) * 2005-12-22 2013-07-23 Microsoft Corporation Program execution service windows
KR100943080B1 (en) * 2007-11-19 2010-02-18 한국전자통신연구원 Apparatus for measuring performance of web service and method thereof
KR100962532B1 (en) 2007-12-18 2010-06-14 한국전자통신연구원 System for load regenerating using packets of load test and its method
KR20110063084A (en) 2009-12-04 2011-06-10 한국전자통신연구원 Apparatus and method for web service interoperability testing
KR101418553B1 (en) * 2010-09-07 2014-07-10 한국전자통신연구원 Apparatus, system and method for integration testing of service-based application
KR20130075252A (en) 2011-12-27 2013-07-05 한국전자통신연구원 Apparatus and method for conformance testing of service choreography
CN115114127B (en) * 2021-03-22 2024-04-30 小沃科技有限公司 Pressure testing system

Also Published As

Publication number Publication date
KR20040051876A (en) 2004-06-19

Similar Documents

Publication Publication Date Title
US7752634B1 (en) Non-intrusive personalization of web services
US6829630B1 (en) Mechanisms for web-object event/state-driven communication between networked devices
US8271940B2 (en) System and method for dynamic generation and customization of web service client applications for terminals
US6189038B1 (en) Generic notifications framework system and method for enhancing operation of a management station on a network
US8949311B2 (en) Dynamic, non-intrusive personalization of web services
US7856640B2 (en) Web client endpoint emulator
US20120137309A1 (en) Workflow integration and portal systems and methods
US20160149763A1 (en) Systems and Methods for Providing an Administrative Framework in a Cloud Architecture
WO2008106333A1 (en) Apparatus and method for remote querying of data sources
KR101296321B1 (en) A contents service interface providing system based on open APIs and the method thereof
US20150169392A1 (en) System and method for providing an application programming interface intermediary for hypertext transfer protocol web services
KR100496871B1 (en) Web service tester and method of testing web service
US10257069B1 (en) Systems and methods for providing an administrative framework in a cloud architecture
US20220309105A1 (en) Apparatuses, methods, and computer program products for generating interaction vectors within a multi-component system
US10775751B2 (en) Automatic generation of regular expression based on log line data
Gombotz et al. On web services workflow mining
US7310659B1 (en) Interface and method for extending a target application over an instant message link of a communication network
US8676902B2 (en) System and method for service oriented email client application
US20040104928A1 (en) Unit management system and method
US9537736B2 (en) Methods and systems to generate reports including report references for navigation
US20140173587A1 (en) Managing an application modification process
CN112202598B (en) Log recording method and device
CN114416169A (en) Data processing method, medium, device and computing equipment based on micro front end
US7007094B1 (en) Object oriented communications system over the internet
KR100697155B1 (en) System and method for forming report using web service

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110609

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee