http tester a web appliance testing tool l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
HTTP-Tester- A web appliance testing tool PowerPoint Presentation
Download Presentation
HTTP-Tester- A web appliance testing tool

Loading in 2 Seconds...

play fullscreen
1 / 15

HTTP-Tester- A web appliance testing tool - PowerPoint PPT Presentation


  • 241 Views
  • Uploaded on

HTTP-Tester- A web appliance testing tool. Kiran Komaravolu Dept of Computer Science and Engg Lehigh University. What is the need to test Web Appliances. Need to use best components. Compare performance of different web devices. Verify if a device is performs as per specifications.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'HTTP-Tester- A web appliance testing tool' - Gabriel


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
http tester a web appliance testing tool

HTTP-Tester- A web appliance testing tool

Kiran Komaravolu

Dept of Computer Science and Engg

Lehigh University

what is the need to test web appliances
What is the need to test Web Appliances
  • Need to use best components.
    • Compare performance of different web devices.
  • Verify if a device is performs as per specifications.
  • Choosing between different service providers.
related work
Related Work
  • The Ethereal network analyser (www.ethereal.com).
  • TCPDUMP/PCAP (www.tcpdump.org).
  • Httpflow (Grevnin and Davison)
  • Simultaneous proxy evaluation. (Davison).
  • Medusa Proxy. (Koletsou and Voelker).
http tester
Http-Tester
  • Replays captured requests to an existing server to one that is being evaluated.
  • No active deployment needed.
  • Does not affect existing services.
  • Can be used to evaluate any Web appliance running HTTP.
http tester5
HTTP-Tester
  • Topology setup
http tester6
HTTP-Tester
  • Components
    • The Sniffer.
      • Logs all packets onto a packet database.
    • Request Replicator.
      • Replays all requests to the “tested device”
    • The Post Processor.
      • Reads the packet logs, extracts HTTP requests and responses and correlates them.
slide7
HTTP
  • HTTP Message Structure
    • A command line. (GET, POST, OK etc.)
      • GET http://www.google.com / HTTP 1.0
    • Zero or more header lines.
      • Content-Type: text/html; charset=iso-8859-1
    • Control Return + Line Feed.
    • Optional Message Body
      • Response message
http transactions
HTTP Transactions.
  • HTTP 1.0
    • No persistent connections.
    • A new connection is opened up for every request made, and is closed down after response sent.
  • HTTP 1.1
    • Supports Persistent Connections.
    • Client may make a series of requests on a connection. Server returns responses in same order.
    • Supports chunk encoding.
the sniffer
The Sniffer
  • Blindly captures all relevant network packets and logs them.
  • The pcap packet capture library has been used to read packets off the wire.
  • Berkeley DB package has been used to log the packets into a ‘db’ database.
      • The job of efficient memory and disk usage has been delegated to DB.
request replicator
Request Replicator
  • Replays all requests flowing into original device onto the tested device.
  • Works in parallel with the sniffer module.
  • Looks for TCP SYN packets and determines the beginning of a request flow. And opens up a new connection to the second device.
  • The payload every next packet sent to on this connection is sent to the second device.
request replicator11
Request Replicator.
  • This way the second server sees the same workload as the first one.
  • The replies sent by the server are ignored. They are flushed out as the socket buffers overflow. The sniffer module though logs the TCP packets.
post processing
Post Processing.
  • Extracts HTTP requests/responses from the packet logs.
  • Every request is mapped onto its response. The same request response pair on the second connection is also identified.
  • Httpflow routines used to extract HTTP requests from packet stream.
identifying requests
Identifying Requests.
  • We know which way requests flow.
  • Assumption: First TCP packet of every request has one of GET, HEAD,OPTIONS, DELETE, POST, PUT.
  • End of headers is determined by a CRLF.
  • content-length field is specified in case of PUT/POST requests.
identifying responses
Identifying responses
  • Response headers extrated by looking for a CRLF.
  • End of Response message determined in three ways:
    • Server sends a FIN or RST packet.
    • Response headers contain a “content-length” field.
    • Response is chunk encoded. Each chunk has its own length. Zero length chunk indicates end of stream.