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

  What does assessment look like in the science classroom

What does assessment look like in the science classroom and why is it important? Give one example of a science assessment you have observed in your practicum.

  Identify the educational requirements for each type of job

Identify the educational requirements for each type of job. Describe the duties that professionals in these positions typically perform.

  Identify specific parts or elements of the assumption

Identify the one assumption that was the most difficult for you to accept based on your current understanding or previous experiences with testing.

  Create a resource development plan for a organization

Create a Resource Development Plan for a specific nonprofit organization.

  The future of public administration

Interpret the overall manner in which the current economic climate might dictate the major themes of public sector management going forward.

  Statistics for rape and sexual assault of sexual minorities

Look up the statistics for rape and sexual assault of sexual minorities. Why might LGBTQ people be at greater risk of nonconsensual sexual behaviors?

  Where was the failure in leadership and why

Using this formula, Collins notably claims that Wells Fargo discovered that their economic driver was not profit per loan but profit per employee.

  Describe the strategies to maintain healthy relationships

Create a brochure in which you communicate the following to engaged couples: Strategies to maintain healthy relationships. The response must be typed.

  Explain your implicit ethical decision-making style

First, explain how you think through and determine what is "right" and "wrong" (personally and professionally) in your own daily life. Second, identify four examples of ethical behaviors and explain how your cultural heritage has shaped your value..

  Focus on objects at various distances

Modifying schema to account for new info, change in curvature of the lens that enables the eye to focus on objects at various distances. What do we call this?

  Explain the use of cloud-native tools

Explain the use of cloud-native tools (at least 3), that you can use to improve the security of Investment Karma's web applications.

  Demonstrates sophisticated understanding of the elements

Demonstrates sophisticated understanding of the complexity of elements important to members of another culture through this change. Story demonstrates.

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