K2 Connect Question Test cockpit

  • 8 May 2019
  • 1 reply
  • 3 views

Badge +1

I'm wanting to test an SAP RFC in K2 Connect Test Cockpit.

The function I want to test is BAPI_ALM_NOTIF_DATA_MODIFY

The documentation says I must call BAPI_ALM_NOTIF_SAVE, then call BAPI_TRANSACT_COMMIT.

 

How do I test calling these three functions in the same session from Test cockpit? 

Or do I need to chain the functions together in Visual Studio and then publish a service object, then create a smartobject to test this functionality?

 

Test cockpit seems to work great with functions that do not require followup calls like SAVE and COMMIT.

Functions that require save and commit do not seem to be so easy to tst.

 

Please advise.

Thanks.

Hao Ngo.


1 reply

Hi Hao Ngo,
I don't think test cockpit tools can testing whatever you wanted, you may consider to do composite smart object with 3 function as your mentioned, you can follow as link below
https://help.k2.com/support-services/kbt139397
another way, you may request to developer from SAP site to make ZBAPI calling these function in SAP, then you can testing ZBAPI with cockpit.

Reply