New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Configuration Tips for HTTP Transaction Sensors needed

Votes:

1

Your Vote:

Up

Down

I need additional information on how to set up an HTTP Transaction sensor, especially on how to find out the correct POSTDATA settings.

cookie http http-sensor login postdata recorder sensor transaction url webserver-sensor

Created on Feb 3, 2010 12:37:42 PM by  Roland Grau [Paessler Support]

Last change on May 6, 2019 12:12:03 PM by  Maike Behnsen [Paessler Support]



5 Replies

Accepted Answer

Votes:

1

Your Vote:

Up

Down

This article applies to PRTG Network Monitor 19 or later

The HTTP Transaction Sensor - Tips and Tricks

By using the HTTP Transaction sensor, you can monitor a sequence of URLs on a web server. This is useful, for example, to ensure that placing products into a shopping cart and then passing the checkout actually works.


A Word of Caution

It is important to understand that for some web applications it can be quite complicated if not impossible to create an HTTP Transaction sensor in PRTG Network Monitor.

The HTTP Transaction sensor requires your web application to use cookies for session management. If your web application uses hidden fields, URL parameters, POST fields, JavaScript (or other methods that require interaction with a real browser) to store session id(s), then you can not monitor it using the HTTP Transaction sensor.

Please understand that our support team can not take over the duty of creating and debugging the HTTP Transaction sensor settings for you and your website. However, the sensor is already in use on many different websites and can be considered reliable.


What You Need

The HTTP Transaction sensor simulates the HTTP requests that are sent to a server by a user visiting a sequence of webpages (while preserving the cookies during all requests).

To simulate this you must hand over the URLs and their POSTDATA (for POST requests only) to the HTTP Transaction sensor. Now figuring out the URLs is pretty easy. You can simply copy the URLs from the URL edit field of your web browser. But getting your hands on the POSTDATA is more complicated.

Getting POSTDATA via Developer Tools

By using your web browser's developer tools, you can get the POSTDATA in a few mouse clicks. The developer tools help you to find out the URLs and the POSTDATA strings that are sent to a web server while visiting a sequence of URLs.

Opening Developer Tools in Chrome

  • Go to Options | More Tools | Developer tools or via the Windows shortcut Control+Shift+I.
  • Go to the Network tab.

Opening Developer Tools In Firefox

  • Go to Options | Web Developer | Network or via the Windows shortcut Control+Shift+E.

Note: In both Chrome and Firefox, you can also right-click an element and inspect it to open the developer tools.

  • In the browser window, use the mouse etc. to go through the URL sequence you want to record. While you access each page, the URL and - if you submit a POST request - the POSTDATA is stored in the list of the developer tools console.
  • Stop the recording when you reach the last web page of your URL sequence.
  • When you are done, you can use the URL list's context menu to copy or save URLs or POSTDATA.

Note: For more information on the developer tools options, see your browser's website.

Transferring the Data to PRTG Network Monitor

  1. Open the PRTG web interface.
  2. Create a new HTTP Transaction sensor and copy the URLs (and for POST requests, the POSTDATA) using the information from the developer tools into the edit fields of PRTG Network Monitor.
  3. Check the other settings of the sensor and submit the page.

Now you should be able to monitor the sequence as desired.

IMPORTANT: Be aware that if the sequence you recorded was a shopping cart or any other transactional activity, PRTG will now cause the same purchase or transaction every few minutes if you do not take any measures against this!

Created on Feb 3, 2010 12:39:32 PM by  Roland Grau [Paessler Support]

Last change on May 20, 2019 12:00:51 PM by  Brandy Mauff [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Disappointing help.

Created on Jun 1, 2018 12:27:12 AM by  Minh CVC (0)



Votes:

0

Your Vote:

Up

Down

Minh,

How can we be of assistance?

Benjamin Day
[Paessler Support]

Created on Jun 1, 2018 12:44:18 AM by  Benjamin Day [Paessler Support]



Votes:

0

Your Vote:

Up

Down

" If your web application uses hidden fields, URL parameters, POST fields, Javascript (or other methods that require interaction with a real browser) to store session id(s), then you can not monitor it using the HTTP Transaction sensor."

How about stating which sensor type would be available to monitor webpages that use javascript to store session id(s)?

Created on Aug 20, 2018 3:00:03 PM by  wking (0) 1



Votes:

0

Your Vote:

Up

Down

wking,

That would require some special coding, as PRTG does not have sensors that work with those elements out of the box.

Benjamin Day
Paessler Support

Created on Aug 21, 2018 8:40:21 PM by  Benjamin Day [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.