A new ABAP HTTP test client RSICFCLTST01

447 阅读1分钟

report RSICFCLTST01

  1. create a new test session using ways of URL by url:
    you have to specify url,proxy host andport number. Select created http session after “create” icon is pressed, then click tab Detail:

clipboard1

  1. execute CL_HTTP_CLIENT~send method,ensure sy-subrc = 0:

clipboard2

Then perform CL_HTTP_CLIENT~receive:

clipboard3

Once execution is done successfully, response is available to review:

clipboard4
clipboard5

execute GET_CDATA方法 to get returned text stream ( String ):

clipboard6

Utility tab contains many useful utility method provided by CL_HTTP_UTILITY~utility:( used for encode and decode url )

clipboard7

要获取更多Jerry的原创文章,请关注公众号"汪子熙":