SensorEventServiceGettingStarted

Identify your SES URL

At first you need to know the URL of your SES installation. If you have correctly installed the SES you already should know it. Otherwise you can find it in the SES config file (\webapps\52n-ses-x\WEB-INF\classes\sesconfig\ses_config.properties). It should look like this: http://your.tomcatser.ver:8080/52n-ses-x/services/SesPortType

Get and install JMeter

For simple testing of the SES you need JMeter. It is a small program that allows you to send (SOAP) requests. You can download it here: http://jmeter.apache.org

Load JMX testplan

Download the JMeter testplan provided here. Load the included JMX file into JMeter. It should now look like the this.

jmeter1.png

In order to setup the tesplan you have to adjust some parameters in the "Configuration" element.

jmeter2.png

Start the Consumer application

Now you need to start your local consumer. You can use the SimpleWSNConsumer program (zip - tar.gz). This is a small java based program that listens on a port on your machine and writes all received requests into a text window.

Run JMeter testplan

Start the testplan by pressing "CTRL + R" or via the "Run" menu. The responses of all requests will be summarized in the "Responses" element. All matching notifications will be forwarded to your SimpleWSNConsumer program.

jmeter3.png

Metadata

  • Topic created by: MatthesRieke
  • Topic created on: 2012-03-28

-- MatthesRieke - 2012-04-23
I Attachment Action Size Date Who Comment
jmeter1.pngpng jmeter1.png manage 82 K 23 Apr 2012 - 14:02 MatthesRieke  
jmeter2.pngpng jmeter2.png manage 85 K 23 Apr 2012 - 14:02 MatthesRieke  
jmeter3.pngpng jmeter3.png manage 71 K 23 Apr 2012 - 14:02 MatthesRieke  
Topic revision: r3 - 20 Aug 2012, EikeJuerrens
Legal Notice | Privacy Statement


This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback