Describing the execution of test cases

Assignment Help Other Subject
Reference no: EM133108825

Service-oriented Architectures

Coursework: Service Implementation and Testing

This assignment continues the development of Groupwork Task 4 on using Linx to implement a service and test it in Postman. Now the focus is on the Assess service.

We modify our model, requiring the Assess service to use the File service directly to check if the URL provided by the student refers to an existing file on that service.

The modified part of the sequence diagram is as follows. The componentdiagram states that your component Assess should use FileInt and implement StudentInt.

To ensure that we can test your service, you must implement the Open API specification-StudenInt.yaml for the of the Assess service. You will need to usethe Open API specification FileInt.yaml of the extended File service, both provided on BlackBoard.

Your tasks are as follows

Task 1: Implement the getFeedback operation of the Assess service.
a. If sNR matches your ownstudent number,return a sentence of your choice for feedback.
b. If sNR does not match your student number, return "student number not found".

Task 2: Implement the submit operation of the Assess service, which should use the check-Fileoperation of the File service to verify the URL and return the submission details in JSON format (not the file) as a confirmation to the student.
a. If sid matches your university account name (your email address up to but not including @), then
i. If urlmatches an existing URL on the File service, return a JSON object of type Submissionwith the values of module, assessment and URL fields copied from the corresponding input parameters.
ii. If sid does not match your university account name, return Submission object with subNr = "no such file".
b. If siddoes not match your university account name, return Submission object with subNr = "no such user".

Task 3: Toteststhe submit operation,create three REST-specific sequence diagrams describing the execution of test cases with their concrete inputs and outputs covering cases a.i, a.ii and b in Task 2 above.

Task 4: Following the scenarios defined in your sequence diagrams, test the services using Postman by first uploading a file to the File service, then invoking submit on the As-sess service. Take screenshots of the requests and replies to document your tests.

Attachment:- Service-oriented Architectures.rar

 

Reference no: EM133108825

Questions Cloud

What the value of Roberts investment today : Robert invested $5600.03 years ago his investment earned 12.5 during the first year. What the value of Roberts investment today
What is the account and the amount of the bottom line : What is the account and the amount of the bottom line item on the Statement (or Consolidated Statement) of Comprehensive Income
What is the value of work-in-process inventory on January : The following operations data are available for January for the one lubricant produces. What is the value of work-in-process inventory on January
What is the corporation basis in the assets : How much gain does Sam recognize, what is his basis in the stock received, and what is the corporation's basis in the assets
Describing the execution of test cases : Create three REST-specific sequence diagrams describing the execution of test cases with their concrete inputs and outputs covering cases
Write a cohesive summary of paragraphs : Paragraphs .01-.19 discuss such matters as the purpose of an audit, Write a cohesive summary of paragraphs .01-.19 of AU-C 200 emphasizing matters noted above
Why would a company choose to use one method over another : There are two methods for disposing of overapplied and underapplied overhead. Why would a company choose to use one method over another
Role of supporting positive learning environments : Critically analyse own and community biases, prejudices and assumptions associated with behavioural supports in educational and care settings
What amount of production costs would assigned to Product A : Assume 13,000 units of product A and 14,000 units of Product B are produced. What amount of production costs would be assigned to Product A

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd