News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pablo Viquez:
PHP debugging with JMeter and Zend Debugger
October 19, 2012 @ 10:15:37

Pablo Viquez has a new post to his site today showing you how to debug your PHP code with the help of JMeter (an Apache project) that tests functional behavior and performance and the Zend Debugger.

Now, I think JMeter is awesome, no doubt about it, however what if I want to test something while developing a new API Endpoint? well I used to be accustom to the nasty var_dump(); exit; combination or if the API was already completed I used to do error_log() everywhere and figure out the results. [...] I love the easy integration that Zend Server has with Zend Studio for debugging and I though to myself, why not just change the client that triggers the debugging console so instead of the browser use JMeter, at the end both uses HTTP so it should work, well guess what, IT DOES, and It's awesome. No more print_r, error_log, var_dump in the API, lets do the Step by Step debugging with JMeter!

He walks you through the steps needed to get it all set up and working together, complete with screenshots. Really, you can use whatever debugger setup you prefer (with something like Xdebug) and have jMeter execute on top of that - there's no interface directly between the debugger and jMeter.

0 comments voice your opinion now!
jmeter zenddebugger zendstudio tutorial configure setup


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Sending Confirmation Emails with Phalcon and Swift

DevShed: Using Conditional Statements with the Xdebug Extension

DevShed: An Introduction to Using the Decorator Pattern with PHP

SitePoint PHP Blog: Responsive Images Using Picturefill and PHP

DevShed: Introducing the Memento Pattern


Community Events

Don't see your event here?
Let us know!


community feature api development laravel5 library podcast wordpress laravel extension release unittest introduction opinion threedevsandamaybe series framework language voicesoftheelephpant interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework