Web server, web application test method, and web application test program
First Claim
Patent Images
1. A web application test method that performs a test of a web application in a web server, the method comprising:
- performing processing for POST data received from a client and, based on the processing result, generating a document to be transmitted to the client, the document including at least one input area for a user; and
determining input area setting data to be set in the input area of the document, and embedding a test program for automatically transmitting the POST data from the client to the web server in the document to allow the client to execute the test program when the test of a web application is performed, whereinthe test program includes a POST number which is a number of the POST data,the determining and embedding determines the input area setting data based on the POST number and updates the POST number,the test program executed on the client inputs the input area setting data in the input area,the determining and embedding determines the input area setting data by referring to a test data storage section included in the web server, andwhen a number of the at least one input area is N and the POST number ranges from 0 to M, the test data storage section includes (M+1)×
N input area setting data.
1 Assignment
0 Petitions
Accused Products
Abstract
A web server 2 capable of performing a test of a web application comprises: a web application processing section 22 that performs processing for POST data received from a client 1 and, based on the processing result, generates a document to be transmitted to the client 1; and a test processing section 21 that embeds a test program for automatically transmitting the POST data from the client 1 to the web server 2 in the document to allow the client 1 to execute the test program when the test of a web application is performed.
27 Citations
18 Claims
-
1. A web application test method that performs a test of a web application in a web server, the method comprising:
-
performing processing for POST data received from a client and, based on the processing result, generating a document to be transmitted to the client, the document including at least one input area for a user; and determining input area setting data to be set in the input area of the document, and embedding a test program for automatically transmitting the POST data from the client to the web server in the document to allow the client to execute the test program when the test of a web application is performed, wherein the test program includes a POST number which is a number of the POST data, the determining and embedding determines the input area setting data based on the POST number and updates the POST number, the test program executed on the client inputs the input area setting data in the input area, the determining and embedding determines the input area setting data by referring to a test data storage section included in the web server, and when a number of the at least one input area is N and the POST number ranges from 0 to M, the test data storage section includes (M+1)×
N input area setting data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 18)
-
-
9. A non-transitory computer-readable medium having recorded thereon a program that causes a web server connected to a client to execute a process comprising:
-
performing processing for POST data received from a the client and, based on the processing result, generating a document to be transmitted to the client, the document including at least one input area for a user; and determining input area setting data to be set in the input area of the document, and embedding a test program for automatically transmitting the POST data from the client to the web server in the document to allow the client to execute the test program when the test of a web application is performed, wherein the test program includes a POST number which is a number of the POST data, the determining and embedding determines the input area setting data based on the POST number and updates the POST number, the test program executed on the client inputs the input area setting data in the input area, the determining and embedding determines the input area setting data by referring to a test data storage section included in the web server, and when a number of the at least one input area is N and the POST number ranges from 0 to M, the test data storage section includes (M+1)×
N input area setting data. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. The method used in a system including a web server and a client that connected to the web server, the method comprising:
-
receiving, using the web server, POST data from the client; updating, using the web server, a POST number when the received POST data includes the POST number; performing, using the web server, processing of POST data; generating, using the web server, a document based on the processing result, the document including at least one input area for a user; determining, using the web server, input data setting data based on the updated POST number; embedding, using the web server, a test program for automatically transmitting POST data from the client to the web server, and the input data setting data in the document; determining the input area setting data by referring to a test data storage section included in the web server; including (M+1)×
N input area setting data when a number of the at least one input area is N and the POST number ranges from 0 to M;transmitting, using the web server, the document to the client; and executing, by using the client, the test program so as to input the input area setting data in the at least one input area.
-
Specification