Q4) In finance "Request for Quote" (RFQ) is a common mechanism used to request a price electronically: the client submits a request to the pricing server. At some point, the server provides a quote (or a series of quotes) and the client can decide to execute (hit) or pass (cancel). When a client "executes" or "hits" a price, they are actually placing an Order to make a trade at that given price. The following state machine diagram describes the different states of the RFQ and the possible transitions. Using the state machine testing technique, answer the following questions. Write detailed steps of your answer Request Timeout- Error Request Timeout Server sends quote User requests quote Requesting Server sends quote Quoted User executes quote Executing -User cancels- Server sends execution report Done User cancels Dol Cancelling Server replies Cancelled 1. How many test cases do you need to achieve state coverage? a. 1 b. 2 C. 3 d. 4 e. 5 2. How many test cases do you need to achieve transition coverage? a. 5 b. 6 C. 7 d. 8 e. 9

icon
Related questions
Question
Q4) In finance "Request for Quote" (RFQ) is a common mechanism used to request a price
electronically: the client submits a request to the pricing server. At some point, the server
provides a quote (or a series of quotes) and the client can decide to execute (hit) or pass
(cancel). When a client "executes" or "hits" a price, they are actually placing an Order to make a
trade at that given price. The following state machine diagram describes the different states of
the RFQ and the possible transitions. Using the state machine testing technique, answer the
following questions. Write detailed steps of your answer
Request Timeout-
Error
Request Timeout
2.
Server sends quote
0101010101
User requests quote
Requesting
Server sends quote
Quoted
User executes quote
Executing
-User cancels-
Server sends execution report
-User cancels
Dol
Cancelling
Server replies
Cancelled
1. How many test cases do you need to achieve state coverage?
a. 1
b. 2
C. 3
d. 4
e. 5
How many test cases do you need to achieve transition coverage?
a. 5
b. 6
C. 7
d. 8
e. 9
Transcribed Image Text:Q4) In finance "Request for Quote" (RFQ) is a common mechanism used to request a price electronically: the client submits a request to the pricing server. At some point, the server provides a quote (or a series of quotes) and the client can decide to execute (hit) or pass (cancel). When a client "executes" or "hits" a price, they are actually placing an Order to make a trade at that given price. The following state machine diagram describes the different states of the RFQ and the possible transitions. Using the state machine testing technique, answer the following questions. Write detailed steps of your answer Request Timeout- Error Request Timeout 2. Server sends quote 0101010101 User requests quote Requesting Server sends quote Quoted User executes quote Executing -User cancels- Server sends execution report -User cancels Dol Cancelling Server replies Cancelled 1. How many test cases do you need to achieve state coverage? a. 1 b. 2 C. 3 d. 4 e. 5 How many test cases do you need to achieve transition coverage? a. 5 b. 6 C. 7 d. 8 e. 9
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions