在底部,您可以看到测试文件。
清单3显示了一个示例测试文件。
单元测试文件(数据和源代码)。
花些时间研究一下测试文件。
至此,您已经看到了如何编写单个测试文件。
然后保存该测试文件,它类似于清单6中的输出。
You can then save the test file, which looks like the output in Listing 6.
组织好源和测试文件夹后,必须提供配置文件。
After structuring both the source and test folders, you have to provide the configuration file.
数据库单元测试文件。
在下面的下载部分,您将发现JMeter的两个不同的测试文件。
In the Download section below, you'll find two different test files for JMeter.
载入测试文件CustomerOrder2 . xml,如下所示。
接下来,仅需从命令行的测试选项运行测试文件,就能够实际运行测试。
Next, to actually run the test, you simply run the test file from the command line with the test option.
在下一个CreateNewTest窗口中,确保您已经选择了这个测试文件夹。
In the next Create New test window, make sure you have selected the tests folder.
为了保持代码简单,我把类和测试代码放在一个文件中。
To keep the code simple, I put the class and the test code in one file.
在测试环境中接管这些文件。
此模块文件就是测试套件的入口点。
另一项测试是看看配置文件是否拒绝访问某一主机。
Another test is to see whether the configuration file denies access to a particular host.
你每次保存这些源文件时,便调用测试类的解析。
Each time you save the source file, you invoke a parsing of the test class.
总体说明包括名称、描述以及测试套件的相关文件路径。
General information includes the name, description, and relative file path of the test suite.
在测试之后,您将EAR文件放到生产环境。
After testing, you put your EAR file into the production environment.
而且,该组件将测试结果写入到一个文件,用于测试后的分析。
In addition, this component wrote the test results to a file for post-test analysis.
记住整个文件在测试的开始就已被读入存储器是十分重要的。
It is important to remember that the entire text file is read into memory at the beginning of a test.
然后,您就可以部署BAR文件并测试流。
结果将写入WPAR内部的一个测试日志文件。
好的起始点是使用生成的测试客户端JSP文件。
A good place to start is with the generated test client JSP files.
我还将创建一个100MB虚拟数据文件,以供测试之用。
I will also create a 100mb dummy data file for the purposes of this test.
表1显示了一些更常见的文件测试。
这只适用于从文件系统测试网站。
This is useful for testing the Web site from the file system only.
WSDL测试客户程序使用 WSDL文件对服务直接进行测试。
The WSDL Test Clients use the WSDL file to test the service directly.
您不需要录制语音文件来测试应用程序。
You do not need to record the audio files to try out the application.
您不需要录制语音文件来测试应用程序。
You do not need to record the audio files to try out the application.
应用推荐