Hi,
I have an issue with startrecording method in REST API - when I run my tests (from .net code, Integration Tests & Unit Tests).
The issue is that I pass a label of a date time stamp and some description on my tests start to run - and I don't see this data in any place in DT Client.
Though I do have the session starting recording and stop recording correctly.
The request - http://<myDTServerIP>:8020/rest/management/profiles/myDTSystemPtofile/startrecording?label=11-21-13-11-2014-FirstRecording
I would expect to see the "11-21-13-11-2014-FirstRecording" to appear in the window of DT Client, and I don't.
Do I miss something?
Thanx.
Answer by Andreas G. ·
Hi. I was just corrected by our developers. Not a bug - but I guess both of us just made the same mistake. Here is the screenshot of the request that shows that this actually works
Can you give this another try?
Answer by Andreas G. ·
Hi
I think you found a bug. i just tested this myself and it really seems to not put the label on the stored session. I will post this to the R&D team.
However - what you can do is to use the parameter presentableName. Thats then going to be the name of the stored session which you will see in your list of stored sessions. That will work
Andi
Hi,
Here are steps I tried in order to create a recorded session with a specified name:
I just tested this on my machine - using HttpRequester Plugin in Firefox and it works as expected
I think the problem in your case is that your Content-Length is 0. This means that dynaTrace will not try to read to HTTP POST Body and therefore wont see the parameters that you have passed!
I will try.
UPD:
WBR.
Do you have continuous session recording enabled or disabled? It has to be disabled in order for Start/Stop Recording to work. It can be disabled in the SErver Settings Dialog under Storage
JANUARY 15, 3:00 PM GMT / 10:00 AM ET