oneM2M API Testing

POSTMAN Script for Mobius Platform

ETC

Tools

v2.0.0
July 14, 2017

iyahn@keti.re.kr
Il Yeup, Ahn

Git Hub Project Link
oneM2M Open API Testing

 

Gub Hub Release Direct DownLoad Link
Direct Link Revision Release Date
PostManScript-v2.0.zip v2.0.0 July 2017

Introduction

A suite of Postman script is provided to familitate the use of oneM2M complied server platform – Mobius.

  • The Postman scripts covers operations of CREATE, UPDATE, RETRIEVE, and DELETE for following resources:
    • AE
    • accessControlPolicy
    • CSEBase
    • container
    • contentInstance
    • group
    • locationPolicy
    • mgmtObj including Battery, firware, DeviceCapacity, DeviceInfo, and Reboot
    • node
    • remoteCSE
    • semanticDescriptor
    • subscription
    • timeSeries
    • timeSeriesInstance.
  • Discovery function is also demonstrated with applied filter criteria conditions as following:
    • resourceType
    • limit
    • stateTagBigger and stateTagSmaller
    • createdBefore and createdAfter
    • sizeBelow and sizeAbove
    • modifiedSince and unmodifiedSince
    • expiredBefore and expiredAfter

Get Started

The API script is developed via Postman. The Postman is a powerful API development tool, and if you have not yet install it in your machine, you can download it from here. You can download or clone the Mobius API script from here.

  • Import the downloaded Postman script into your Postman collections via “import” feature of Postman.
  • Configure the management environment of your postman in terms of configuration of the CSEBase (cb) and the Mobius server URL (mp_url). You can create a new Manage Environment in the Setting of Postman.
  • Select any one script from a list of script, and click “Send” to try sending a request to Mobius.

BSD 3-Clause License

Copyright (c) 2017, IoTKETI All rights reserved Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.