All Projects → SAP-archive → abap-odata-smoke-test

SAP-archive / abap-odata-smoke-test

Licence: other
This ABAP Report performs simple smoke tests for activated ODATA services, providing basic automated testing for your ODATA endpoints.

Programming Languages

ABAP
45 projects

Projects that are alternatives of or similar to abap-odata-smoke-test

cloud-abap-rap
This repository contains several examples how to develop with the ABAP RESTful Application Programming Model (RAP) in SAP BTP, ABAP environment.
Stars: ✭ 98 (+653.85%)
Mutual labels:  sample, abap, odata, sample-code
abap-exercises-codejam
Material for CodeJams on SAP Business Technology Platform, ABAP Environment and ABAP RESTful Application Programming Model.
Stars: ✭ 25 (+92.31%)
Mutual labels:  sample, abap, sample-code
abap-platform-jak
The JSON ABAP Konverter
Stars: ✭ 16 (+23.08%)
Mutual labels:  sample, abap, sample-code
abap-alv-google-upload-sheet
Sample demonstrating export of ALV Grid data from SAP GUI directly to Google Drive and display exported data snapshots automatically in Google Sheets.
Stars: ✭ 24 (+84.62%)
Mutual labels:  sample, abap, sample-code
ui5-cap-event-app
Showcase of SAP Cloud Application Programming Model and OData V4 with draft mode in a freestyle SAPUI5 app and an SAP Fiori elements app.
Stars: ✭ 70 (+438.46%)
Mutual labels:  sample, odata, sample-code
teched2021-developer-keynote
SAP TechEd 2021 Developer Keynote: Improving Developers' Lives.
Stars: ✭ 23 (+76.92%)
Mutual labels:  sample, abap, sample-code
btp-workflow-management-opensap
This repository contain the exercises for the openSAP course "Improve Business Processes with SAP Workflow Management."
Stars: ✭ 30 (+130.77%)
Mutual labels:  sample, sample-code
iot-edge-samples
Showcase of various extension scenarios for SAP IoT Edge, intelligent edge computing software that provides "microservices at the edge" for Internet of Things (IoT).
Stars: ✭ 16 (+23.08%)
Mutual labels:  sample, sample-code
hana-developer-cli-tool-example
Learn how to build a developer-centric SAP HANA command line tool, particularly designed to be used when performing SAP HANA development in non-SAP tooling (for example from VS Code).
Stars: ✭ 73 (+461.54%)
Mutual labels:  sample, sample-code
cloud-cap-multitenancy
SAP Cloud Application Programming Model (CAP) sample code project with multitenancy using service manager-created SAP HANA containers for tenant data isolation.
Stars: ✭ 33 (+153.85%)
Mutual labels:  sample, sample-code
ui5-webcomponents-sample-react
UI5 Web Components Sample TODO application built with React.
Stars: ✭ 47 (+261.54%)
Mutual labels:  sample, sample-code
hana-ml-samples
This project provides code examples for SAP HANA Predictive and Machine Learning scenarios and is educational content. It covers simple Predictive Analysis Library SQL examples as well as complete SAP HANA design-time “ML scenario”-application content or HANA-ML Python Notebook examples.
Stars: ✭ 67 (+415.38%)
Mutual labels:  sample, sample-code
cloud-workflow-samples
Workflow sample projects as reference content. Users can download and import the content of this project to their tenant to understand and learn how to consume workflow.
Stars: ✭ 52 (+300%)
Mutual labels:  sample, sample-code
cloud-mdk-tutorial-samples
Sample from the SAP mobile development kit tutorials demonstrating various components and features of the MDK in the context of an enterprise mobile solution.
Stars: ✭ 16 (+23.08%)
Mutual labels:  sample, sample-code
fiori-elements-feature-showcase
Sample application that demonstrates and documents a broad variety of features of SAP Fiori elements for OData V4. Developers can play around with the new features and learn how to implement them.
Stars: ✭ 76 (+484.62%)
Mutual labels:  sample, sample-code
cloud-espm-cloud-native
Enterprise Sales and Procurement Model (ESPM) Cloud Native is a project that showcases how an application can be made resilient by implementing resilience design patterns. This application is developed using Spring Boot framework and can be deployed locally as well as on SAP BTP, Cloud Foundry environment.
Stars: ✭ 29 (+123.08%)
Mutual labels:  sample, sample-code
cloud-cap-risk-management
The SAP Risk Management example applications show how to deploy a CAP (SAP Cloud Application Programming model) application to Cloud Foundry and Kyma.
Stars: ✭ 36 (+176.92%)
Mutual labels:  sample, sample-code
ui5-service-worker-sample
ui5-service-worker-sample demonstrates how the Service Worker API, available in modern web browsers, could be used in a UI5 app to realize different caching strategies.
Stars: ✭ 16 (+23.08%)
Mutual labels:  sample, sample-code
ui5-webcomponents-sample-angular
UI5 Web Components Sample TODO application built with Angular.
Stars: ✭ 34 (+161.54%)
Mutual labels:  sample, sample-code
ui5-webcomponents-sample-vue
UI5 Web Components Sample TODO application built with Vue.
Stars: ✭ 52 (+300%)
Mutual labels:  sample, sample-code

Important Notice

This public repository is read-only and no longer maintained.

ABAP ODATA Smoke-Test tool

Description

Any projects that are using ODATA services from an ABAP environment, as for example within SAP Fiori Apps, and are looking for a basic testing tool, can use this smoke-test technique to verify basic ODATA functionality.

This ABAP Report performs simple smoke tests for activated ODATA services all at once, providing basic automated testing for your ODATA endpoints. These smoke tests mainly cover the retrieval of ODATA service metadata and optionally can perform an arbitary entityset request. The resulting HTTP response codes are collected (e.g. OK = HTTP 200) and displayed in a list view.

Report Flow:

  • Evaluates all activated ODATA Services (as in transaction /IWFND/MAINT_SERVICE)
  • Performs a $metadata call
  • (Optional) Performs a service document call
  • (Optional) Performs an arbitary entityset call
  • Collects HTTP Status Codes / Responses and outputs it to the Application Log (transaction SLG1)

Limitations

There is no validation of request content, data correctness or completeness. Also notice, that for arbitary entityset calls, not necessarily every call might succeed, as some entities require mandatory parameters! Further testing therefore could be done using third party tools, that can verify and correlate each ODATA service request.

Requirements

The provided coding works in any environment, that meets the following technical prerequisites:

  • SAP Netweaver ABAP >= 7.51 environment e.g. tested on SAP S/4HANA 1709/1809
  • Software component SAP_GWFND (Gateway) installed
  • Requires working Gateway Client functionality (uses HTTP) - check also transaction "/IWFND/GW_CLIENT"
  • User with SAP_ALL or similar authorizations to execute ODATA services and perform entityset calls

Download & Installation

It is actually not necessary to download any files, you can easily copy and paste the required code fragments directly, as mentioned below. If you still like to have a local copy, you can follow this guide.

  • Run SAPGUI, execute transaction "SE38"
  • create new executable report e.g. Z_ODATA_SMOKE_TEST
  • Copy & Paste Source Code
  • Save & Activate

Execution

After installation/deployment, run report via "SE38".

Flag <test_entity = abap_false.> determines, whether entityset calls are performed (default = off).

ATTENTION: Depending on the amount of active services, especially the initial execution can take minutes up to couple of hours!

Output

Once finished, results will be shown automatically! Moreover, they can also be observed via transaction "SLG1", Object "/IWFND/", Subobject "RUNTIME", as seen below. The result list can easily be sorted and help during further troubleshooting.

demo smoke test

Support

This project is provided "as-is", with no support or changes planned.

License

Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.

The content of this repository is licensed under the SAP SAMPLE CODE LICENSE AGREEMENT as noted in the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].