Login   Register  
PHP Classes
elePHPant
Icontem

Curly: Test sites verifying if responses match XML specs

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-05-16 (6 months ago) RSS 2.0 feedNot enough user ratingsTotal: 161 All time: 7,473 This week: 1,559Up
Version License PHP version Categories  
curly 1.0.8GNU General Public Lice...5.1.0Networking, HTTP, PHP 5, Testing
Description Author  

This class can test Web sites by verifying if page responses match specifications defined in XML configuration.

It can read configuration files in XML format that define the URLs of the Web site pages to test and other test parameters.

The class can send HTTP and FTP requests to the defined pages and verify if the responses match certain conditions like response status, content patterns, etc..

The configuration can define parameters of how to send the requests like the request method, user name and password for authentication, etc..

Innovation Award  
PHP Programming Innovation award nominee
April 2014
Number 6
One way to check if a site is working as expected is to send HTTP to retrieve its responses and verify if they match what is expected.

This class allows automatic verifying the expected responses of a site by defining the necessary tests in a separate XML file.

This way it is possible to define site tests without having to tweak the testing code every time you need to create or update the tested aspects.

Manuel Lemos
Picture of zent00
Name: zent00 <contact>
Classes: 1 package by
Country: France France
Age: ???
All time rank: 369196 in France France
Week rank: 1803 Up51 in France France Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageconf (5 files)
Files folder imagetestcases (5 files)
Plain text file Curly.php Class Class source
Accessible without login Plain text file INSTALL Doc. Auxiliary data
Accessible without login Plain text file README Data Auxiliary data

  Files folder image Files  /  conf  
File Role Description
  Accessible without login Plain text file config_ftp.xml Data Auxiliary data
  Accessible without login Plain text file config_ftp_download.xml Data Auxiliary data
  Accessible without login Plain text file config_gmail_httpauth.xml Data Auxiliary data
  Accessible without login Plain text file config_php_net.xml Data Auxiliary data
  Accessible without login Plain text file config_soap_ip2geo.xml Data Auxiliary data

  Files folder image Files  /  testcases  
File Role Description
  Accessible without login Plain text file ftp.xml Data Auxiliary data
  Accessible without login Plain text file ftp_download.xml Data Auxiliary data
  Accessible without login Plain text file gmail_httpauth.xml Data Auxiliary data
  Accessible without login Plain text file php_net.xml Data Auxiliary data
  Accessible without login Plain text file soap_ip2geo.xml Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%Total:161All time:7,473
 This week:0This week:1,559Up