Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Issue while running test in Distributed Grid .
Tausif
#1 Posted : Tuesday, October 27, 2015 7:09:26 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/27/2015(UTC)
Posts: 3
Location: India

Thanks: 2 times
Hi Team,

We are in POC mode, need to complete the demo in order to go for license.
Getting the error: TestFixtureSetUp failed in ......
same test case I executed with local server it executed fine without any error.
When I selected grid server to above error is thrown(TestFixtureSetUp failed in ......)

finally I pointed to the location in the grid where ncrunch has created the dll for my test suit.
executed this test case with Nunit GUI it was working at the grid location.

Please suggest if I am missing any setting ?
Nunit GUI: 2.6.4.14350
Nunit dll which I am using in my code: 2.6.2.

We are left with only 15 days trial day,
will be thankful for your quick response.



Now I am getting this error.

SetUp : System.ServiceModel.CommunicationException : An error occurred while making the HTTP request to (- BROKEN LINK -). This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.
----> System.Net.WebException : The underlying connection was closed: An unexpected error occurred on a send.
----> System.IO.IOException : Authentication failed because the remote party has closed the transport stream.
Remco
#2 Posted : Tuesday, October 27, 2015 11:02:26 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for sharing this issue.

The exception you've described isn't originating from NCrunch - this is coming from either your test code or your code under test. NCrunch communicates over its grid directly using TCP streams, where this exception seems to be HTTPS related.

Without knowledge of your code, unfortunately it isn't possible for me to provide you with a solution to this problem. However, looking at this error, I would speculate that the remote grid server responsible for running the test needs to have an SSL certificate installed on it in order to run your application.

Is it possible that the remote grid server is missing some key piece of configuration necessary for the execution of your code?
1 user thanked Remco for this useful post.
Tausif on 10/27/2015(UTC)
Tausif
#3 Posted : Friday, October 30, 2015 5:15:14 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/27/2015(UTC)
Posts: 3
Location: India

Thanks: 2 times
Can you pleas help me in understanding one point.

1.In case if want to run 5 test case from a set of 20 test case in grid 1 and remaining 15 test on my local or grid 2 how can I do it.?
Remco
#4 Posted : Friday, October 30, 2015 7:32:32 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
If you're trying to allocate tests to specific nodes so that they always run on those nodes, then I think this is what you're searching for - http://www.ncrunch.net/documentation/concepts_capabilities.
Tausif
#5 Posted : Friday, October 30, 2015 10:00:55 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/27/2015(UTC)
Posts: 3
Location: India

Thanks: 2 times
Will be Thankful to you if you can give more details tutorial on the
http://www.ncrunch.net/d...es-capability-attribute
on the below concept also
http://www.ncrunch.net/d...nfiguration_test-filter

Because my doubt is if my grid server name is abc with ip x.x.x.x, is this need to be same or match the string inside

[NCrunch.Framework.RequiresCapability("abc")]

?
Remco
#6 Posted : Friday, October 30, 2015 10:25:42 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Capabilities are basically just strings. They're names that you can choose. As long as you specify the same capability on the grid node using this setting, you can choose which tests will run on which nodes: http://www.ncrunch.net/documentation/reference_global-configuration_capabilities-of-this-computer.
1 user thanked Remco for this useful post.
Tausif on 11/3/2015(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.037 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download