RV- Peak Load Test /Performance Test Tools

RV 8.1 and above version software provides a tool rvperf (Rendezvous performance assessment software)

This tool is to answer questions about network behavior under sustained load conditions.

For example:
  •  What happens to network performance when an application sends a batch of ten thousand messages without pausing?
  •  Which computers in my network can send messages the fastest? Which can receive fastest?
  •  How do peak loads affect network throughput?

Performance assessment software consists of two executable programs in below location once after tra installation.

C:\tibco\tibrv\8.1\bin>

●    rvperfm (master) sends messages, gathers performance data, and outputs the report.

●    rvperfs (slave) subscribes to messages from rvperfm, and sends back data about its own speed and effectiveness.

Example :

 Open  command prompt  and go to the path C:\tibco\tibrv\8.1\bin>
 
Start listener with one subject and  Fire the command below then it gives the output report for the mentioned subject.

C:\tibco\tibrv\8.1\bin>
rvperfm -service 1234 -network localhost -daemon tcp:1234 -subject TEST -messages 1 -size 30003728


rvperfm coordinates the tasks of measuring network performance. It sends messages to the network, and reports statistics to stdout.

rvperfm prints a brief string as it begins sending the run of messages, and another when it finishes sending the run.

Then it outputs its run report:

1.     Statistics that rvperfm collects while sending the messages.
2.     Statistics that each rvperfs process collects while receiving messages. 

Each group of statistics represents the performance of one rvperfs process.


 


 Elapsed Time :

Both programs in the performance tool report the total time that elapsed in each complete run.

The speed at which the Rendezvous daemon can deliver messages to the network depends on the network itself, the network interface card (and other hardware parameters), and the host operating system.

If rvperfm sends at a faster rate than the network can accept, rvperfm retains messages in its outbound queue until the network can accept them.

Elapsed time: 0.500000 seconds

Above example screenshot, 0.500000 seconds elapsed from the time that rvperfm sent the first message of the run, until the time that the daemon transmitted the last message of the run to the network.
 

Scenario - How to do convertion of XML to .txt or CSV file using TIBCO-BW ?

If we got an XML file and from this xml ,How can print only its content (tag values) as text string and send this content to specific address using mail.

This Requirement can achieve in TIBCO BW process using this below activities

1. If we have xml file then use Read File activity to get xml string.

2. This XML String is passed to XSLT Style sheet in a XML Transform pallete.

3. In XLST file, Output method is defined as "text", hence output data obtained is of "text" i.e. it will not contain any HTML tags.

4. Then a Write File activity is called, and the output of XML Transform is passed as 'text Content', hence the CSV/txt file gets generated of type like

DATA-1.1 , DATA-1.2 , DATA-1.3
DATA-2.1 , DATA-2.2 , DATA-2.3


5. Later Send Mail activity is called, here at Input tab, File Name is selected under mimeHeader, File Name is given as file created in previous step.

Example XML file and style sheet for the above scenario testing given below.

Here given xml ,Just save this xml as file and use Read File activity to get into BW.

Also here given style sheet ,Use this to configure XSLT file (shared Resource) for Transform XML activity.

-------------------------------------------------------------------
  <employee_list>
    <employee>
        <name>George</name>
        <dept>HR</dept>
        <phone>044-123-4567</phone>
        <email>ex@example.com</email>
    </employee>
    <employee>
        <name>Jones</name>
        <dept>Sales</dept>
        <phone>011-122-2233</phone>
        <email>axe@example.com</email>
    </employee>
    <employee>
        <name>Taylor</name>
        <dept>Engineering</dept>
        <phone>040-111-2333</phone>
        <email>abc@example.com</email>
    </employee>
</employee_list>
 
-------------------------------------------------------------------

Example stylesheet for the conversion of XML to Text string

-------------------------------------------------------------------
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="text" />
 <xsl:template match="/">
  <xsl:apply-templates />
  </xsl:template>
 <xsl:template match="employee_list">
  employee Directory for example.com
  <xsl:apply-templates />
  </xsl:template>
<xsl:template match="name">
  Name:
  <xsl:apply-templates />
  </xsl:template>
 <xsl:template match="dept">
  Dept:
  <xsl:apply-templates />
  </xsl:template>
 <xsl:template match="phone">
  Phone:
  <xsl:apply-templates />
  </xsl:template>
 <xsl:template match="email">
  Email:
  <xsl:apply-templates />
  </xsl:template>
  </xsl:stylesheet>

-------------------------------------------------------------------


  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP