`
JerryWang_SAP
  • 浏览: 1000525 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论

如何使用Chrome扩展应用postman发送SAP UI5 batch操作

阅读更多

There is a standard Gateway client tool ( transaction code /IWFND/GW_CLIENT ) which allows us to launch odata request without browser for testing purpose. And there is another approach which can achieve the same result without using SAPGUI, that is Chrome extension: postman.

 

 

For example, we are doing some test in Fiori application and we observe the following batch operation in Chrome network tab. We would like to do unit or performance testing on it with the help of postman.

 

 

How to create the batch operation in postman

Just copy the value you find in Chrome network tab from screenshot above to the postman based on the number.

 

 

now the request header part is done. We continue to copy all the text in request payload into clip-board. ( select all, ctrl + C )

 

 

Choose “raw” tab, then Ctrl + V all the payload text into the text area, and then click Send button. Unfortunately we get 403 error, due to the missing CSRF token.

 

 

How to get CSRF token

Just create another http request in postman, request method sets to GET, and http header x-csrf-token with value Fetch, send the request, and the token is available in response header.

 

 

Once done, paste this token into our previous batch request as http header value:

 

 

And send the batch request once again, this time it works:

 

 

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

0
1
分享到:
评论

相关推荐

    Chrome扩展安装包Postman 绿色版

    标题中的“Chrome扩展安装包Postman绿色版”指的是Postman的非官方离线安装版本,适用于那些无法通过Chrome网上应用店进行安装或者遇到安装问题的用户。绿色版通常意味着无需复杂的安装步骤,只需解压即可使用,且...

    Chrome扩展安装包Postman插件

    Postman是开发者们广泛使用的HTTP客户端工具,它作为一个Chrome扩展,方便地集成到浏览器环境中,使得用户可以轻松地发送各种HTTP请求,如GET、POST、PUT等,来测试和调试Web服务。Postman不仅适用于API开发和测试,...

    chrome插件-postman离线安装.zip

    在Chrome浏览器中,Postman通常以扩展程序的形式存在。 离线安装Postman Chrome插件的情况多见于网络环境受限或者需要批量部署到多台计算机时。由于Chrome网上应用店可能在某些地区或公司网络中无法访问,因此提供...

    Chrome离线扩展安装包Postman

    这款工具最初是一个Chrome浏览器扩展,但随着时间的发展,现在已经发展成为一个独立的应用程序,支持Windows、Mac和Linux等操作系统。 Chrome离线扩展安装包Postman是为那些无法或不想通过Chrome Web Store在线安装...

    chrome扩展 postman

    作为一款Chrome浏览器扩展,Postman使得接口调试变得简单直观,支持HTTP和HTTPS协议,涵盖了GET、POST、PUT等多种请求方法。下面将详细介绍Postman的使用及相关知识点。 1. 安装与启用: - 首先,你需要下载...

    chrome插件postman

    5. **Postman的功能**:除了基本的请求发送,Postman还提供了以下功能: - **Collections**:组织和管理多个相关的API请求。 - **Environments**:定义不同环境的变量,如开发环境和生产环境。 - **Pre-request ...

    chrome-postman插件

    首先,Postman作为一款Chrome扩展程序,安装非常便捷。在Chrome应用商店中搜索"Postman",找到官方插件并添加至浏览器即可。它不仅限于Chrome,还有独立的应用版本,适用于Windows、Mac和Linux操作系统。 在功能上...

    postman_chrome_extension.zip

    Postman是一款强大的API开发和测试工具,它最初是一款Chrome扩展,现在已经发展成为一个独立的应用程序,支持多平台使用。本文将详细解析"postman_chrome_extension.zip"这个压缩包中的内容,帮助你理解如何在谷歌...

    解决win8 下chrome 不能添加扩展程序postman问题

    ### 解决Win8下Chrome无法添加扩展程序Postman的问题 #### 背景介绍 近期在尝试为Chrome浏览器安装Postman扩展程序时遇到了困难。Postman是一款非常实用的API开发工具,广泛应用于Web开发领域,它能够帮助开发者...

    chrome插件-postman5.5.3离线安装.rar

    安装完成后,用户可以在Chrome的应用列表中找到Postman,并将其添加到桌面,以便更便捷地启动和使用。 标签"postman chrome"明确了这个压缩文件与Postman工具及其与Chrome浏览器的关联。Postman作为一个Chrome插件...

    Chrome插件Postman_v4.1.3

    Postman是一款功能强大的网页调试与发送网页HTTP请求的Chrome插件。...postman适用于不同的操作系统,Postman Mac、Windows X32、Windows X64、Linux系统,还支持postman 浏览器扩展程序、postman chrome应用程序等。

    Chrome Postman JsonView离线扩展

    总结来说,“Chrome Postman JsonView离线扩展”是一个集API开发、测试、调试和文档生成于一体的工具包,对于Web开发者和API使用者来说,是不可或缺的利器。通过合理利用这些工具,可以极大地提升工作效率并保证API...

    postman-chrome插件

    3. **连接Interceptor**:在Chrome浏览器的Interceptor扩展中登录你的Postman账户,这将使Interceptor与Postman应用连接起来。 4. **捕获和同步请求**:现在,当你在浏览器中浏览网页时,Interceptor会捕获所有HTTP...

    google chrome Postman插件

    **谷歌Chrome浏览器的Postman插件** Postman是一款强大的API测试和开发工具,它使得开发者能够轻松地发送HTTP请求并查看响应数据。在Chrome浏览器上,Postman作为一个插件存在,便于用户在Web开发过程中进行接口...

    Google Chrome 插件: Postman

    We recommend using the Postman native apps, but Postman is also available as a Chrome app. Read more about why support for the Postman Chrome app is being deprecated. The Postman Chrome app can only ...

    postman-4.1.2 Chrome浏览器插件版

    本文将深入介绍"postman-4.1.2 Chrome浏览器插件版",以及如何在Chrome浏览器中安装和使用。 首先,Postman作为一款API开发工具,它允许开发者通过发送HTTP请求来测试服务器接口,包括GET、POST、PUT、DELETE等多种...

    chrome插件_postman_4.1.2

    本插件本人亲测可用 加载插件方法方法: 打开chrome浏览器,右上角有有个3点的菜单,-->更多工具-->扩展程序 页面上有个"加载已解压的...使用方法: 打开chrome,左上角有个"应用"按钮,点击即可看到postman图标.

    postman_chrome_extension_postman插件.zip

    Postman是一款强大的API开发、测试和文档化工具,它最初作为一个Chrome浏览器扩展流行起来,后来发展为一个独立的应用程序,支持多平台使用。在本压缩包"postman_chrome_extension_postman插件.zip"中,包含的是...

    Chrome_Postman

    Postman的离线版本通常以.crx文件的形式提供,这种文件是Chrome浏览器的扩展程序包。为了在Chrome上安装这个离线版本,你需要按照以下步骤操作: 1. 首先,你需要下载Postman的.crx文件,例如提供的`Postman_v4.1.3...

Global site tag (gtag.js) - Google Analytics