• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMeter testing

 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

any help on this would be greatly appreciated,

i have a HTTP request test in JMeter that gets an XML document as the response,

the format of the xml document is:

"
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
<id>id1</id>
<link rel="linkrel" type="image/jpeg" href="http://linkrel1" />
</entry>
<entry>
<id>id2</id>
<link rel="linkrel" type="image/jpeg" href="http://linkrel2" />
</entry>
<entry>
<id>id3</id>
<link rel="linkrel" type="image/jpeg" href="http://linkrel3" />
</entry>
<entry>
<id>id4</id>
<link rel="linkrel" type="image/jpeg" href="http://linkrel4" />
</entry>
</feed>
"

what i'm trying to do is to:
* get this response from HTTP request
* check that the number of "link" element with attribute "rel" with value 'linkrel' equals the number of "id" element's
any ideas on how i can do this?

also i need to:
* get this response from HTTP request
* check that the number of "link" element with attribute "rel" with value 'linkrel' equals the number of "id" element's only where the "id" element doesn't have value 'id1'
any ideas on how i can do this?



Thanks in advance for any advice,

Cheers,

Niall
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want to learn JMeter and practice it...I have downloaded the same on my comp...please let me know how can i start with the basic of Jmeter and gradually get up to expertise level.....

If you can suggest any books or site ref apart from jakarta.apache.org

Thanks
Arun
 
No holds barred. And no bars holed. Except this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic