TestCaseTestPlan, how to get via REST API

72 views
Skip to first unread message

vladimir boyarkin

unread,
Feb 27, 2012, 2:19:43 AM2/27/12
to DevTargetProcess
I'm implementing Test import via REST API.
I can create TestPlanRun and TestCaseRun, but I need a
TestCaseTestPlan link according to TP database, so if I don't mark
this key when create my TestCaseRun, I don't have a testcaserun linked
to a TestCase and so on it is useless to import TestCaseRuns with no
match to a TestCase.

Can anybody help me?
Thanks

Алла Погоцкая

unread,
Feb 27, 2012, 4:46:18 AM2/27/12
to devtarge...@googlegroups.com
Hi Vladimir,

The issue you described is a bug, and we will investigate it.
Thank you for your request.

Best Regards,
TP Team, Alla




2012/2/27 vladimir boyarkin <vladm...@gmail.com>

vladimir boyarkin

unread,
Mar 7, 2012, 1:09:57 AM3/7/12
to DevTargetProcess
Any news on it?

On Feb 27, 1:46 pm, Алла Погоцкая <alla.pogotsk...@gmail.com> wrote:
> Hi Vladimir,
>
> The issue you described is a bug, and we will investigate it.
> Thank you for your request.
>
> Best Regards,
> TP Team, Alla
>
> 2012/2/27 vladimir boyarkin <vladmir....@gmail.com>

Michael Dubakov

unread,
Mar 7, 2012, 4:50:08 AM3/7/12
to devtarge...@googlegroups.com
Vladimir, I am sorry, all our developers left to QCon in London.
They will catch up with the bug early next week.
I believe the fix will be available next Friday only.

@mdubakov

vladimir boyarkin

unread,
Mar 7, 2012, 9:29:15 AM3/7/12
to devtarge...@googlegroups.com

Okay, thanks, no problem, I only need to know what to tell my client:)

vladimir boyarkin

unread,
Mar 21, 2012, 11:43:54 AM3/21/12
to devtarge...@googlegroups.com
As I can see the "DEV" mark is removed from this topic, is this issue fixed or invalidated?
If it is fixed when it will be available? I it is invalidated how I can achieve the goal?
Thanks

Sergey Gnedin

unread,
Mar 26, 2012, 8:03:58 AM3/26/12
to devtarge...@googlegroups.com
Hello Vladimir,

Certainly, your post has never been invalidated, sorry if you had such impression. Our developers have submitted a bug to our internal instance of TargetProcess.
The problem has not been fixed yet, however, it is currently the second in the list of planned/approved user stories and bugs, so that should not take long now.
I will create a request on your behalf so you can track the status of the case. It will also allow us to notify you when it complete. You should receive a notification within several minutes.

Best Regards,
Sergey,
TargetProcess Support Manager.

vladimir boyarkin

unread,
Mar 26, 2012, 9:13:50 AM3/26/12
to devtarge...@googlegroups.com
Thanks, I want very much to put my testing system in production, and please fix my firstname and lastname in the owner field:)

Sergey Gnedin

unread,
Mar 26, 2012, 10:52:19 AM3/26/12
to devtarge...@googlegroups.com
Sorry about the requester name, I have corrected it.

Also, I would like to make sure we are on the same page. The bug was added before the request. However, we cannot provide you access to the bug directly, so I have added a request so you can track the status in more convenient way.

I can imagine you are looking forward to trying the solution, but there are other customers who waiting to get their fixes as well.  
Thank you for understanding.

Regards.
Sergey.

Andrew

unread,
May 4, 2012, 5:14:37 AM5/4/12
to devtarge...@googlegroups.com
Hi Vladimir,

There are two ways of associating TestPlanRun and TestCaseRun:

There is following assumption in examples - TestPlanRun and TestCaseRun should exists.
You can create TestPlanRun with new TestCaseRun by one create operation:
       post http://localhost/targetprocess/api/v1/TestPlanRuns?format=json
      {"TestPlan": {"Id": 624}, "Name": "TestPlanRunName", "Project": {"Id": 623}, "TestCaseRuns": [{"Comment": "Nevermind"}]}

P.S. You can find collections which are available for edit on http://localhost/targetprocess/api/v1/index/meta

Andrew


On Monday, February 27, 2012 10:19:43 AM UTC+3, vladimir boyarkin wrote:
Reply all
Reply to author
Forward
0 new messages