Find Jobs
Hire Freelancers

Load testing tool in CakePHP

$100-200 USD

Cancelled
Posted almost 13 years ago

$100-200 USD

Paid on delivery
**Background** I need to do some load testing on a php web application. The server is communicating with a number of clients. The clients are Firefox and Chrome extensions in our customers browsers. The server has to deal with quite massive receiving of data. I need to see if the server will handle a couple of hundred simultaneous users. **Why CakePHP?** The application itself is written in CakePHP and I have experience in the framework. Programming this in CakePHP will make me able to do small changes in the code. It will also make it easier for me to control the functionality of the load testing tool. **How this will run** To simulate hundreds of simultaneous users this script has to be run as multiple processes. Your job will also be to get that working. **Server** I will run this script in a virtual Ubuntu (virtualbox and win7 host) or regular windows 7 if that will work better. You will have to use your own php environment during development. ## Deliverables **Load testing tool in CakePHP** **Background** I need to do some load testing on a php web application. The server is communicating with a number of clients. The clients are Firefox and Chrome extensions in our customers browsers. The server has to deal with quite massive receiving of data. I need to see if the server will handle a couple of hundred simultaneous users. **Why CakePHP?** The application itself is written in CakePHP and I have experience in the framework. Programming this in CakePHP will make me able to do small changes in the code. It will also make it easier for me to control the functionality of the load testing tool. **How this will run** To simulate hundreds of simultaneous users this script has to be run as multiple processes. Your job will also be to get that working. **Server** I will run this script in a virtual Ubuntu (virtualbox and win7 host) or regular windows 7 if that will work better. You will have to use your own php environment during development. **Detailed technical description** This is the flow for how to simulate one user interacting with the server. **1. Get mockup user credentials** **Request** url: /get_mockup_user_credentials. **Response** Json object: * username * password * identification_code * extension_version * browser_name **2. Ask server for which data to send.** **Request** url: /checkForDataToSend Post parameters (as json object): * username, * password, * identification_code, * browser_name, * extension_version **Response** Json object: * phrase * transmit_id * dates: [array with dates] **3. Get mockup data to send** **Request** url: /get_mockup_data/browsername:<browser_name>/date:<date> **Response** Large json array with mockup data. **4. Send data to server** **Request** url: /sendData Post parameters (as json object): * history (mockup data) * transmit_id * phrase * username * password **Some notes** I will give you the servers domain name before you start working. I think Curl is the best solution for interacting with the server. Keep the code clean and commented. The Chrome and Firefox extensions send their request to the server with jQuery library and the ajax function [login to view URL] That way it is easy to specify a json object in the POST request. This load test application will have to send the data in the exact same format. Below is an example (from Fiddler http debug tool) of json post to /senData where the large json object is provided: (se enclosed pdf)
Project ID: 3415021

About the project

2 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $85 USD for this job
User Avatar
See private message.
$85 USD in 5 days
4.7 (8 reviews)
2.2
2.2
User Avatar
See private message.
$85 USD in 5 days
5.0 (5 reviews)
0.3
0.3

About the client

Flag of SWEDEN
VÄSTERÅS, Sweden
5.0
103
Payment method verified
Member since Mar 18, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.