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

SAMPLE REPORT
Candidate Name: David Messi Test Date: 28-May-2014
Test Name: Rest Test( Java WebServices ) Test Start Time: 13.30

Score: 18 Out Of 20

Percentage: 90

Result: PASS

passing score image
SECTION PERFORMANCE
Section Name FAIL PASS
Java Web Services
Score: 18/20
STRENGTH AND WEAKNESS
Strength Java Web Services
Weakness -
* Note: If score <= 40 then its a Weakness. If score >= 80 then its a Strength.
ONLINE PROCTORING
0%
10 20 30 40 50 60 70 80 90 100%
Tolerable Limit Not acceptable
Window Violation: 0 | Time Violation: 0 secs
CANDIDATE DETAILS
Gender : Male Phone Number : +1-541-754-3010
Total Experience (Years) : 3 Total Experience (Months) : 5
Skill Set : Java Web Services Current Employer : Interview Mocha
Current Job Title : Solution Architect Current Salary : 600.00
Expected Salary : 1000000.00 Current Location : Chicago

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