PHP Classes

Curly: Test sites verifying if responses match XML specs

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 192 All time: 8,566 This week: 455Up
Version License PHP version Categories
curly 1.0.10GNU General Publi...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: 4163104 in France France
Week rank: 180 Up12 in France France Up
Innovation award
Innovation award
Nominee: 1x

Details

Curly is a Web testing tool written in PHP. It can be used for automated testing of web applications and web services. It uses some functions of the PHP cURL library. Curly uses an XML API for defining and loading tests.

  Files folder image Files (13)  
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 (13)  /  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 (13)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:192
This week:0
All time:8,566
This week:455Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2097