WSFramework - HP Service Test custom add-in (2124 Views)
Reply
Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 1 of 63 (2,124 Views)

WSFramework - HP Service Test custom add-in

[ Edited ]

Hi Everyone,

 

WSFramework is HP Service Test custom add-in, which enables your web service testing with:

      1) flexible batch run

      2) detailed execution report

      3) all outputs in single sheet

      4) email notification of the reports 

      5) capability of uploading test results to QC/ALM.

      6) Parameterize the security username and password.


WSFramework consists of 3 activities: Controller and Report.

wsframework.jpg

 

Report and outputs

 

Summary:

Summary.jpg

 

 

 Result Details:

Result Details.jpg

 

Outputs:

Outputs1.jpg 

 

 

If you are interested in this add-in, just download the package and try it. For installation, please read the user guide first.

Please provide your comments if you meet any issue or have any suggestion. Thank you!

 

Downloads:

 

 

Frequent Advisor
Varma80
Posts: 29
Registered: ‎02-21-2012
Message 2 of 63 (2,078 Views)

Re: WSFramework - HP Service Test custom add-in

Awesome. :-) This is the report format i am looking for. Thanks

Frequent Advisor
Varma80
Posts: 29
Registered: ‎02-21-2012
Message 3 of 63 (2,071 Views)

Re: WSFramework - HP Service Test custom add-in

Everthing is working fine except the sending the email. I am not receiving any emails. Am i missing any settings??

 

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 4 of 63 (2,067 Views)

Re: WSFramework - HP Service Test custom add-in

The email function need you open your outlook and log in with your outlook account
Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 5 of 63 (2,056 Views)

Re: WSFramework - HP Service Test custom add-in

Hi, are you using outlook 2007? I have fixed the issue of email functionality of outlook 2007. Please re-download the addin.
Occasional Contributor
HariShankar_ST
Posts: 5
Registered: ‎05-04-2012
Message 6 of 63 (2,003 Views)

Re: WSFramework - HP Service Test custom add-in

Hi,

I  had used this add-in. Its not worked fine.

1)Controller step is failing  stating that.I had set the control flag column with 0 and 1 values  in my data sheet and associated to execution flag via data source option

2012-11-14 04:19:48,911 [6] INFO UserLogger [(null)] - Step 'Start' ended successfully

2012-11-14 04:19:49,567 [6] INFO UserLogger [(null)] - Step 'Test Flow' : Step 'Test Flow' started

2012-11-14 04:19:49,567 [6] DEBUG UserLogger [(null)] - Step 'Test Flow' : Parent Step: 'test'

2012-11-14 04:19:50,896 [6] INFO UserLogger [(null)] - Step 'Iteration 1' : Step 'Iteration 1' started

2012-11-14 04:19:50,896 [6] DEBUG UserLogger [(null)] - Step 'Iteration 1' : Parent Step: 'Loop2'

2012-11-14 04:19:50,927 [6] INFO UserLogger [(null)] - Step 'Controller9' : Step 'Controller9' started

2012-11-14 04:19:50,927 [6] DEBUG UserLogger [(null)] - Step 'Controller9' : Parent Step: 'Sequence11'

2012-11-14 04:19:59,505 [6] INFO UserLogger [(null)] - Step 'Controller9' : Error: Excel Path was not set correctly!

2nd case :

 

When I put controller spread sheet file  with  columns  testcasename, Execution flag, result its executing  but for the last iteration its giving  below error

Step 'Iteration 46' : Parent Step: 'Loop2'

Step 'Controller9' : Step 'Controller9' started

Step 'Controller9' : Parent Step: 'Sequence11'

Step 'Controller9' : Control file error.

Step 'Controller9' : Error: Object reference not set to an instance of an object.

Step 'Controller9' :

Step 'Controller9' ended unsuccessfully

 

2)Report file is not also creating  in the reqd folder.

On the fly after execution it is creating book1.xls  with only two worksheets with s third work sheet wiome junk output sheet.

 

3) And if i want to edit my controller file for another its saying that its locked.

 

All the screen shots attached for reference. Controller file also attached .

Would you please help me to resolve the issues .

Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 7 of 63 (1,984 Views)

Re: WSFramework - HP Service Test custom add-in

Would you please help me to save the WSFramework output/Result Excel file in ALM? 

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 8 of 63 (1,964 Views)

Re: WSFramework - HP Service Test custom add-in

[ Edited ]

Hi HariShankar_ST ,

 

Thank you very much for posting your issue. I haven't visited this forum for a long time, i'm sorry that i were not aware your post timely.

 

The route cause of first issue is if the sheet name contains space, Service Test will add some special character to its sheet name. I have fixed this issue in my project, please re-download the addin.

 

the second issue is due to the junk data in your input data sheet, if you remove the row number 47 (in screenshot). You will not see that error again.

 

For the last locking issue, ST runtime environment sometimes won't execute the codes in destructor properly. You can manually kill the excel process in task manager and open that file again.

 

Thank you again for helping me to improve the addin.

 

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 9 of 63 (1,964 Views)

Re: WSFramework - HP Service Test custom add-in

[ Edited ]

Hi e210821 ,

 

Do you want to upload the each result file to ALM as an attachment in each run?

Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 10 of 63 (1,949 Views)

Re: WSFramework - HP Service Test custom add-in

yes i want upload as an attachment

Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 11 of 63 (1,938 Views)

Re: WSFramework - HP Service Test custom add-in

Hi,

 

I am unable to use controller activity,please find the attachment for the reference.

 

 

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 12 of 63 (1,936 Views)

Re: WSFramework - HP Service Test custom add-in

Can you provide the screenshot for your controller setting in HP ST and the control sheet you are using?

Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 13 of 63 (1,927 Views)

Re: WSFramework - HP Service Test custom add-in

Hi,

 

Please find the control sheet and Controlller settings screen shots.

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 14 of 63 (1,922 Views)

Re: WSFramework - HP Service Test custom add-in

You can only choose to use either of "Control File"  or "Execution Flag", not both.

If you decide to link the execution flag to the column from the sheet that you have already import, please keep the control file blank. Otherwise the controller will read the file path you set in "Control File" as a high priority and check if the file has the correct format.

 

In your case, i think you can remove control file value and try again.

Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 15 of 63 (1,914 Views)

Re: WSFramework - HP Service Test custom add-in

I have kept Control file blank and tried to execute but i got the same error.

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 16 of 63 (1,907 Views)

Re: WSFramework - HP Service Test custom add-in

Can you show me the sheet in which you bind your execution flag and the runtime log in HP ST output window?
Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 17 of 63 (1,881 Views)

Re: WSFramework - HP Service Test custom add-in

Sorry for the late reply ,Please find the  attachments 

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 18 of 63 (1,872 Views)

Re: WSFramework - HP Service Test custom add-in

[ Edited ]

The issue seems refer to the excel file path in your local machine, can you tell me the path you save the file?

And which mode you choose when you import your excel file?

excel.jpg

Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 19 of 63 (1,867 Views)

Re: WSFramework - HP Service Test custom add-in

Indeed I am using "Data Drive the entire step"  option later I will update the excel

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 20 of 63 (1,836 Views)

Re: WSFramework - HP Service Test custom add-in

I tried to use "Data Drive the entire step" option from my end, it's working as expected.

 

DataDrive.jpg

Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 21 of 63 (1,830 Views)

Re: WSFramework - HP Service Test custom add-in

Hi there,

 

I have enable the functionality of upload report to ALM as an attachment.

The uploaded files can befound in attachment tab for each test set.

Please notice that this function has some dependency. User permission, ALM project setting, ALM client installation issue may cause the attachment not be uploaded successfully

 

 

report attachment.png

Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 22 of 63 (1,829 Views)

Re: WSFramework - HP Service Test custom add-in

Hi,

 

When i am executing WsFramework reporter in IfElse branch, I am getting "Non-negative number required. Parameter name: count" exceptiopn messsage.please find the attachment for the reference.

 

Thanks

Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 23 of 63 (1,818 Views)

Re: WSFramework - HP Service Test custom add-in

please give me the solution for WSFramework reporter
Advisor
e210821
Posts: 30
Registered: ‎11-09-2012
Message 24 of 63 (1,788 Views)

Re: WSFramework - HP Service Test custom add-in

 
Frequent Advisor
rayblue
Posts: 39
Registered: ‎07-16-2012
Message 25 of 63 (1,781 Views)

Re: WSFramework - HP Service Test custom add-in

I have enable that function, please re-download the addin.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.