Questions tagged [mockserver]

What is MockServer

MockServer can be used for mocking any system you integrate with via HTTP or HTTPS (i.e. services, web sites, etc).

MockServer can:

  • return a "mock" response when a request matches an expectation

  • forward a request when the request matches an expectation (i.e. a dynamic port forwarding proxy)

  • execute a callback when a request matches an expectation, allowing the response to be created dynamically

  • verify requests have been sent (i.e. as a test assertion)

What is MockServer Proxy

MockServer Proxy can be used for transparently recording all requests sent by a system (i.e. an application or set of applications).

MockServer Proxy can:

  • proxy all requests using any of the following proxying methods:

    • Port Forwarding
    • Web Proxying (i.e. HTTP proxy)
    • HTTPS Tunneling Proxying (using HTTP CONNECT)
    • SOCKS Proxying (i.e. dynamic port forwarding)
  • verify requests have been sent (i.e. in a test assertion)
  • record requests and responses to analyse how a system behaves
175 questions
0
votes
1 answer

Test Kendo UI Scheduler with SAPUI5 using mockdata

I'm tring to use Telerik KendoUI Scheduler in SAPUI5. I've found this article from SAP community on how to do it: http://scn.sap.com/community/developer-center/front-end/blog/2016/01/20/working-with-kendo-ui-controls-in-sapui5 The problem is that…
sickpres
  • 21
  • 1
0
votes
1 answer

Can I use SAP UI5 mockserver without having a oData model

Backend : Jersey backend Frontend : SAPUI5 application with a JSON model I use jQuery.ajax() calls to make requests to the backend. I would like to mock these requests and load mock data to do a quick POC. The Mockserver provided by SapUI5 seems to…
daredadevil
  • 317
  • 1
  • 6
  • 19
0
votes
1 answer

How to turn off logging into the console in Mockserver Ruby client

I am creating an expectation using the Ruby client for mockserver and getting a bunch of logging messages in the console(terminal). I was wondering how to turn that off, but not print it out to a file. I have tried this but it only prints it out to…
Fizz
  • 235
  • 1
  • 2
  • 7
0
votes
0 answers

SOAP UI mock server groovy scripting

Currently i am having two SOAP projects(A and B) imported from WSDL files. I created a mock server with one of the projects(A) and from my application i am able to call the mock server and get response. Now i want to go further and try to invoke a…
mags
  • 13
  • 6
-1
votes
2 answers

How to get access of MockData from my Controller SapUI5

please i need your help. i try to get mockdata to fill my simpleform without success. I have followed the example of sap Hana to configure my mockserver. the mockserver is working fine but i don't know how to get the mockdata on my view…
-1
votes
1 answer

MockServer with IPv6

I'm running a client issuing some request against MockServer. When calling MockServer with its IPv4 address everything works well but when calling it via IPv6 MockServer throws an exception: 021-07-23 13:57:39 5.11.1 SEVERE 8889 exception…
stefan
  • 658
  • 2
  • 9
  • 31
-1
votes
1 answer

how to implement mock server

I need to deploy and configure server that will response that I need. for example if I send:
seyshanbe
  • 31
  • 1
  • 4
-1
votes
1 answer

Why am i getting Assert Not Equal from the Mock Server in Java?

I have to create a mock server expectation to check whether incoming request equal to mocked request. My problem is Json which is in the expectation same as which i provided but i`m getting java.lang.AssertionError: Expected :401 Actual …
Das_J
  • 71
  • 2
  • 9
-1
votes
1 answer

SAPUI5 Problem with rootUri in Mock Sever

Thanks a lot to all of you, my friends for your help and advices. Guys, I think I solved the problem, almost. Just need your help with this moment: My Table get data from mock server, but doesn't show it to user. Instead of the rows it shows an…
dkolodin
  • 23
  • 7
-2
votes
1 answer

what exception will Java throw if using the method the execute server will not return a response and the response timeout will be exceeded?

I'm trying to catch an exception that is responsible for a timeout when requesting a server, but I can't reproduce such a situation in my program. Therefore, I need to know the class of the exception and the error message. I tried to reproduce the…
root
  • 1
1 2 3
11
12