RESTful Web Services Online Test

Topics covered

<P>JAX-RS based REST web services, RESTEasy based REST web services security, Jersey API based REST web service, RESTEasy based REST web service file upload</P>

  • MAQ (Multiple Answer Question)
  • MCQ (Multiple Choice Question)
  • Descriptive Question
  • White Board Simulator
  • Coding Simulator
  • Audio Question
  • Video Question
  • Case Study Question

Java Web Services REST Test assists Recruiters & Hiring Managers to effectively assess the skills of the Java Web Services developer before an interview. Java Web Services perform communication through WSDL (Web Services Description Language). There are two types of ways to write Java Web Services application code - SOAP and REST. Here, REST stands for Representational State Transfer which performs fast and consumes less bandwidth. This Java WebServices REST online test is designed to check the development and programming skills of Java Web Services Developer -As per Industry Standards.

RESTful Web Services Online Test contains questions on following Topics:
 

  • JAX-RS based REST web services

  • RESTEasy based REST web services security

  • Jersey API based REST web service

  • RESTEasy based REST web service file upload


This Java Webservices online REST test is designed & validated by our experienced subject matter experts (SME)s to evaluate the candidate’s knowledge about RESTful services. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

The test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

This pre-employment test is useful for hiring:
  • Java Web Services Developer
  • RESTful API Developer

Test details:

This test on RESTful web services with Java enables employers and recruiters to identify potential RESTful API developers by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

Test Details: 30 minutes

20 Application Questions


The combination of Application questions helps to evaluate Technical as well as practical Skills of Candidates.

Rest Test( Java WebServices )

Question #1 of 3

For the form shown below, how do we get the value passed in the input with id="name"?


    
    

    • @POST
      @Produces(MediaType.APPLICATION_JSON)
      public Response getStudent(@FormParameter("name") String name)

    • @GET
      @Produces(MediaType.APPLICATION_JSON)
      public Response getStudent(@FormParam("name") String name)

    • @POST
      @Produces(MediaType.APPLICATION_JSON)
      public Response getStudent(@FormParam("name") String name)

    • @GET
      @Produces(MediaType.APPLICATION_JSON)
      public Response getStudent(@FormParams("name") String name)

Question #2 of 3

How to get the response headers using Jersey ClientResponse object?

    • ClientResponse resp = webResource.accept("application/json").get(ClientResponse.class);
      MultivaluedMap<String,String> valueMap = resp.getHeaderList();

    • ClientResponse resp = webResource.accept("application/json").get(ClientResponse.class);
      MultivaluedMap<String,String> valueMap = resp.getHeaders();

    • ClientResponse resp = webResource.accept("application/json").get(ClientResponse.class);
      MultivaluedMap<String,String> valueMap = resp.getHTTPHeader();

    • None of the mentioned

Question #3 of 3

How can you get the list of cookies received from the REST web service using Jersey ClientResponse object?

    • ClientResponse resp = webResource.accept("application/json").get(ClientResponse.class);
      List<NewCookie> cookieList = resp.getCookieList();

    • ClientResponse resp = webResource.accept("application/json").get(ClientResponse.class);
      List<NewCookie> cookieList = resp.getCookies();

    • ClientResponse resp = webResource.accept("application/json").get(ClientResponse.class);
      List<NewCookie> cookieList = resp.getCookie();

    • None of the mentioned

Candidate Name
Assessment Name
Invited by
Assessment Date
IP Address
Status
















24.00 Out of 40.00
Pass
60%
03
23 Minutes

Java EE

9/10

Hibernate

3/10

Oracle PL/SQL

7/10

Analytical Thinking

5/10

Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.

Strengths

Java EE, Oracle PL/SQL, Analytical Thinking

Weaknesses

Hibernate

Happy

It was a good test for me, the questions were on the latest technology of java on which I am currently working. It was a great experience. Thank you!

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo

How Interview Mocha works?

  • Add this test to your account

  • Invite candidates to take this test online

  • Candidates take the test

  • View and share actionable test reports

Trusted by leading brands worldwide

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • hexaware
Why hiring managers and recruiters across the globe love Interview Mocha
  • Largest number of ready pre-employment skill tests
  • Relevant test compositions and quality questions designed by Subject Matter Experts (IM SME)
  • Fastest custom test creation DNA
  • World’s most super easy skill assessment platform
  • High level of platform security implementation
  • Friendly and quick customer support
  • Ready to listen and implement your feedback, we are all ears
  • Affordable pricing

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo