SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Apprentice
    Join Date
    Dec 2004
    Location
    Ind
    Posts
    49
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Formatting Request XML file

    Hi,

    We have 5000 + request input xml files being used in our project currently. Previsouly we were using a Java Client developed internally by the developers for submitting these xml files and getting the response.

    Currently i am working on developing a UFT API script to submit these xml files. I tried to use the Request XML as it is in UFT, it didn't give me any syntax error. But the execution results shows the error "Object Reference not set to an instance of an object". I added the <Envelope> and <Body> elements in the Text tab in UFT and it started giving syntax error. Eventhough it was showing the syntax error, the test results looked good.

    I spend a lot of time trying to figure out the syntax error issue and finally found that i had to add xmlns="" in each of the child nodes.

    I haven't working on web service testing in the past. Can someone help me understand why do i have to add this text in each child node? the problem is we already have 5000 + input xml files and updating this attribute in each childelement may not be easy.

    Thanks

    JJ

  2. #2
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    UFT is not great for this kind of thing, we have built a framework using SoapUI NG Pro, Groovy & Java to do something similar and it works very well.

    Mark Smith.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 8.33%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:58 AM.

Copyright BetaSoft Inc.