Logo: Relish

  1. Sign in

Project: Core

Get previously Stored JSon String for an User/Application/Key

As a glass developer, I want to retrieve a JSon String with a Key

Scenarios
retrieve a Json String with a name from the backend
Given
a previously stored key name for user "1" in the application "1"
When
I request to retrieve the Json String stored in the backend for user "1" in the application "1"
Then
the Json String is retrieve correctly from the backend
retrieve a Json String with a name from the backend
Given
a previously stored key name for user "1" in the application "1"
When
I request to retrieve the Json String stored in the backend for user "-1" in the application "1"
Then
I receive a HTTP "NOT_FOUND"
retrieve a Json String with a name from the backend
Given
a previously stored key name for user "1" in the application "1"
When
I request to retrieve the Json String stored in the backend for user "1" in the application "-1"
Then
I receive a HTTP "NOT_FOUND"

Last published over 6 years ago by Raimundo Alegría.