Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 25 23:01
    veysiertekin commented #1308
  • May 25 22:56
    veysiertekin commented #1308
  • May 25 22:35
    veysiertekin commented #1308
  • May 25 05:40

    jamesdbloom on maven

    (compare)

  • May 25 05:40

    jamesdbloom on master

    Bump classgraph from 4.8.146 to… (compare)

  • May 25 05:40
    jamesdbloom closed #1336
  • May 24 23:02
    dependabot[bot] labeled #1336
  • May 24 23:02

    dependabot[bot] on maven

    Bump classgraph from 4.8.146 to… (compare)

  • May 24 23:02
    dependabot[bot] labeled #1336
  • May 24 23:02
    dependabot[bot] opened #1336
  • May 24 17:14
    gdiazlo commented #1259
  • May 24 10:48
    BamdadNouri commented #1330
  • May 24 09:11
    Arkinator opened #1335
  • May 24 06:12

    jamesdbloom on maven

    (compare)

  • May 24 06:12

    jamesdbloom on master

    Bump json-schema-validator from… (compare)

  • May 24 06:12
    jamesdbloom closed #1334
  • May 23 23:02
    dependabot[bot] labeled #1334
  • May 23 23:02
    dependabot[bot] labeled #1334
  • May 23 23:02

    dependabot[bot] on maven

    Bump json-schema-validator from… (compare)

  • May 23 23:02
    dependabot[bot] opened #1334
jastiv
@jastiv
Hi, Please suggest is it possible to use open api v2.0 with mock server
jastiv
@jastiv
Hi, I want to configure latency and scalability in my mock using nodejs. Is there any example available for the same?
SeenivasanSeeni
@Seenivasanseeni

Hi. there. forward is not working.
ClientAndServer clientAndServer = new ClientAndServer(port);

                .when(
                        request()
                ).forward(
                forward()
                        .withHost("www.google.com")
                        .withPort(443)
                        .withScheme(HttpForward.Scheme.HTTPS)
        );

and then when I hit at "localhost:2018/", instead of going to google search engine. i am getting 404.
Same thing is happening when trying to forward the request to facebook.com or graph.facebook.com

Patrick
@patrickjamesbarry
Is there are way to filter what is recorded in mockserver. We really like the capturing feature, however, we only want it to apply to certain matching criteria.
ebresser
@lilangbr
Hi! Does anyone know if it is possible to make the Mockserver stop storing information in memory and read only from a persisted file? (I plan to create thousands of expectations and i´d like to know if it is possible to avoid using too much memory on the machine when doing an API performance test)
Luis Pinho
@LuisCSPinho_twitter
hey @jamesdbloom is it possible to pass the -Djava.util.logging.config.file=/path/to/example_logging_configuration.properties param to the docker image? As my understanding this is not possible because of the entrypoint present on the dockerfile on the mockserver.. If I want to override this file, I can't use a docker compose?
pookdeveloper
@pookdeveloper:matrix.org
[m]
hi when I use MockServer-client in nodejs i cant start it
Traycho Ivanov
@traycho_twitter
Hello, does mockserver support JSON-RPC ?
Felipe Thiago Boso
@bosofelipe
Is possible using mock server to mock SOAP web service?
Felipe Thiago Boso
@bosofelipe
@Vampire Do you have an example mock SOAP requests in a java project?
Björn Kautler
@Vampire
What makes you think it is a good idea to ping me?
Anastasia Stanchul
@anas_stan_twitter
Hello! I'm struggling with mock server logger.
I would like to achieve the situation where the mock is logging only incoming requests and outgoing responses.
Right now mock is also writing a log explaining why a certain rule is matching or not matching. Could anyone advise how could it be done? (Google is no help unfortunately.)
Vikram Singh
@TheReprator
Björn Kautler
@Vampire
Isn't that question about the Okhttp mock web server?
That's a totally different software than this channel is about
Adrián Ríos Francia
@adridev:matrix.org
[m]
Hi guys. I'm struggling on how to use callback classes with Helm and K8s. Honestly I don't understand the doc, I tried a few ways of adding the .JAR to the configmap but with no success. Can someone point me to an example or any other resource about this topic. Thank you so much in advance.
Adrián Ríos Francia
@adridev:matrix.org
[m]
No worries, I found the solution already. Thank you anyway.
mgru
@mgru
Hi! Could anyone help on: How do I mock responses with some ritch files (xml, html etc.)?
Was struggling all day by still can mock some trivial string response, like "some response"
Is it even possible to create expectation that returns multyline response?
mgru
@mgru
OK. I see. It is <Help YourSelf> channel.
Well I figured it out - you have to use Base64 encoder - then you put encoded string to the "body" and put "type" to xml for example.
Cheers! :-)
Biswomohan Pattanaik
@Biswomohan_twitter
Chethan Prakash
@chethan
Hi Is there a ui to generate and maintain the JSON expectations file
Our file has become big and unwieldy
Sergey
@romankovsv
Hi guys, I am looking how I can set a random port for mock server ?
1 reply
Vasudevan
@yesveesteps
Hi Team, i have joined this room to get some help regarding the error am facing as below "error: "failed to connect to remote socket while forwarding request" ,
image.png
this is the simple forward i am trying to achieve, but its failing, any inputs/suggestions would be greatly appreicated
ponmanikandan b
@ponmanikandanit_twitter
I try to configure the TLS in mock server

version: '3.6'
networks:
default:
name: infinity-network
services:

mockServer:
image: ${MOCKSERVER_IMAGE}
ports:

  - 9797:1080
environment:
  MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
volumes:
  - ./config:/config
below my docker compose file and and mockeserver.properties
image.png
image.png
i copied the mockerserver.properties in my local machine config folder and mapped the volumes in compose files
ponmanikandan b
@ponmanikandanit_twitter
But it working as normal
can any one give eample to configure the same
TLS in docker image
ponmanikandan b
@ponmanikandanit_twitter

javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.293 IST|X509Authentication.java:215|No X.509 cert selected for EC
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.293 IST|CertificateRequest.java:764|Unavailable authentication scheme: ecdsa_secp521r1_sha512
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.293 IST|X509Authentication.java:215|No X.509 cert selected for RSA
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.294 IST|CertificateRequest.java:764|Unavailable authentication scheme: rsa_pkcs1_sha512
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.294 IST|X509Authentication.java:215|No X.509 cert selected for EC
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.294 IST|CertificateRequest.java:764|Unavailable authentication scheme: ecdsa_secp384r1_sha384
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.294 IST|X509Authentication.java:215|No X.509 cert selected for RSA
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.294 IST|CertificateRequest.java:764|Unavailable authentication scheme: rsa_pkcs1_sha384
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.294 IST|X509Authentication.java:215|No X.509 cert selected for EC
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.294 IST|CertificateRequest.java:764|Unavailable authentication scheme: ecdsa_secp256r1_sha256
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|X509Authentication.java:215|No X.509 cert selected for RSA
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|CertificateRequest.java:764|Unavailable authentication scheme: rsa_pkcs1_sha256
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|X509Authentication.java:215|No X.509 cert selected for DSA
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|CertificateRequest.java:764|Unavailable authentication scheme: dsa_sha256
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|X509Authentication.java:215|No X.509 cert selected for EC
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|CertificateRequest.java:764|Unavailable authentication scheme: ecdsa_sha224
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|X509Authentication.java:215|No X.509 cert selected for RSA
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|CertificateRequest.java:764|Unavailable authentication scheme: rsa_sha224
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|X509Authentication.java:215|No X.509 cert selected for DSA
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|CertificateRequest.java:764|Unavailable authentication scheme: dsa_sha224
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|X509Authentication.java:215|No X.509 cert selected for EC
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.295 IST|CertificateRequest.java:764|Unavailable authentication scheme: ecdsa_sha1
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.296 IST|X509Authentication.java:215|No X.509 cert selected for RSA
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.296 IST|CertificateRequest.java:764|Unavailable authentication scheme: rsa_pkcs1_sha1
javax.net.ssl|ALL|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.296 IST|X509Authentication.java:215|No X.509 cert selected for DSA
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.296 IST|CertificateRequest.java:764|Unavailable authentication scheme: dsa_sha1
javax.net.ssl|WARNING|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.296 IST|CertificateRequest.java:774|No available authentication scheme
javax.net.ssl|FINE|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.297 IST|ServerHelloDone.java:151|Consuming ServerHelloDone handshake message (

<empty>
)
javax.net.ssl|FINE|0E|AsyncHttpClient-3-1|2021-11-12 24:19:18.297 IST|CertificateMessage.java:297|No X.509 certificate for client authentication, use empty Certificate message inste

getting above exception while trying to connect mock server via mutual tls, but one way ssl its working fine.
ponmanikandan b
@ponmanikandanit_twitter
Is it possible to run the mock server in both http and https mode, ie one port in http and another one port in htts
Ponmanikandan Boothalingam
@ponmanikandan:matrix.org
[m]
Is it possible to run the mock server in both http and https mode, ie one port in http and another one port in https*
Ponmanikandan Boothalingam
@ponmanikandan:matrix.org
[m]
@jamesdbloom
Björn Kautler
@Vampire
Tagging him will not help, it seems he completely disappeared.
Iirc mock server does run in both mode, but it shares the same port and just detects which communication is coming in.
Andreea Todasca
@rammy19:matrix.org
[m]
Hey. I have a standalone server running and it uses a json file for mappings. Is it possible to return some random/dynamic data in there? For instance I want random ids.
msallam
@msallam:matrix.org
[m]
Hi, I am trying to deploy MockServer WAR on PCF, any documentation how to do it ?
lucifer
@timmonscharlie413
does anyone have unblocked nodes/proxy
Gabriel Pulido
@gpulido
Hello, we are using the mockserver to mock an api during some LNP test and we are using just one expectation. We are hitting the mockserver with 130 request/second. If the expectation is just a path it seems to work properly but if we add a querystringparameter with just one parameter and a string the mockserver crashes with an Out of Memory problem. We have disabled the logs, but it still crash after 2 minutes. Is there anything more that we can disable so we don't have the Out Of Memory ?