The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational TestManager

Pages: 1
SteveKay
Active Member


Reged: 01/28/05
Posts: 710
Loc: England
Using ASP or PERL and "TMSServer.TMSServer"
      #619733 - 03/26/10 05:07 AM

Hello,

I'm trying to get information out of Test Manager using the TMSServer object.

It works fine in Excel using VBA but doesn't work in ASP (or in Perl).

Here's my Excel code:
Code:
  
Set testServer = CreateObject("TMSServer.TMSServer")

testServer.Login 1, "\\server\path\file.rsp", "me", "mypassword", 0

Set testPlanCol = testServer.TestPlans



Here's the same thing in ASP, but it seems to be hanging (no response from the object) when doing the login. I've played about with permissions in IIS (anonymous and NT security) but I'm not getting anywhere.

Has anyone managed to do this? I'd appreciate peoples help and am happy to share the code I come up with.

I'm using Test Manager 7.0.1.

Many thanks,
Steve

--------------------
Everywhere's within walking distance if you have enough time.
SoftwareTestingWiki
Test Management Tool - free version


Post Extras: Print Post   Remind Me!   Notify Moderator  
SteveKay
Active Member


Reged: 01/28/05
Posts: 710
Loc: England
Re: Using ASP or PERL and "TMSServer.TMSServer" [Re: SteveKay]
      #629336 - 06/04/10 07:29 AM

Just as an update, IBM said that they haven't tested it with ASP, so if it doesn't work then it's not supported.

--------------------
Everywhere's within walking distance if you have enough time.
SoftwareTestingWiki
Test Management Tool - free version


Post Extras: Print Post   Remind Me!   Notify Moderator  
SteveKay
Active Member


Reged: 01/28/05
Posts: 710
Loc: England
Re: Using ASP or PERL and "TMSServer.TMSServer" [Re: SteveKay]
      #629341 - 06/04/10 07:53 AM

Actually, minutes after posting that I worked it out.

It's because of file security and IIS.

Even though you say use windows integrated authentication and disable annonymous access so that it forces IIS to use the users credentials, those credentials are only appropriate to the local disk.
When IIS goes out to the network is uses a "Network token" and so in my case that network token didn't have access to the file.

I changed the default IIS user to be a user with access to that file, and it all works brilliantly now.

--------------------
Everywhere's within walking distance if you have enough time.
SoftwareTestingWiki
Test Management Tool - free version


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  AJ, RSBarber 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 546

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5