@WebServlet(value="/businesspartners")
public class E2ETestServlet
extends javax.servlet.http.HttpServlet
E2ETestHystrixCommand
for a list of destinations. These destinations are provided by
the query parameter destination
, e.g.:
https://some.url/businesspartners?destination=Destination1&destination=Destination2The list of destinations then gets queried one after the other, until the command executes successfully, i.e. returning at least 3
BusinessPartner
s. This way we don't rely on a single service. This is, of course, only
possible, as we don't need specific BusinessPartner
s to be returned.
This is part of the end-to-end test suite by copying it into a generated archetype.
Constructor and Description |
---|
E2ETestServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
doGet
in class javax.servlet.http.HttpServlet
IOException
Copyright © 2018 SAP SE. All rights reserved.