追踪 PHP 应用时 OpenResty XRay 对系统性能的影响（使用OpenResty XRay）
We have uploaded Test::Nginx 0.29 to CPAN:
It will appear on the CPAN mirror near you in the next few hours or so. After that, you can install the module like below
sudo cpan Test::Nginx
or better, when you have the App::cpanminus module already installed:
sudo cpanm Test::Nginx
Special thanks go to all our contributors and developers!
Here's the complete change log for this release (compared to the last CPAN release, 0.28):
bugfix: check leak mode: use much larger number of requests for ab/weighttp to make sure we always have the load even for large
TEST_NGINX_RAND_PORT_XXXvariable to provide random ports during environment variable expansion.
bugfix: log correct server address when
server_addr_for_clientsection is used.
This Perl module provides a test scaffold for automated testing in Nginx C module or OpenResty-based Lua library development.
This class inherits from
Test::Base, thus bringing all its declarative
power to the Nginx C module testing practices.
All of our OpenResty projects are using this test scaffold for automated regression testing.
Please check out the full documentation on CPAN:
as well as the official user guide in the book "Programming OpenResty":
All of our Nginx modules (as well as our lua-resty-* libraries) are using Test::Nginx to drive their test suites. And it is also driving my test cluster running on Amazon EC2:
Please note that this module is completely different from the Test::Nginx module originally created by Maxim Dounin.
The git repository for this Perl module is hosted on GitHub: