LoadRunner the spring Cloud app with the registration center Gateway

Source: Internet
Author: User

Initial situation:

3 Registry 3 Gateway routes Zuul, 3 service providers


Test Service Provider Interface:

Test Service Provider Interface 10.166.10.117:8085/testgettps?param=1

Remark (important) LoadRunner How to test the cluster

Scenario 1

10.166.10.117 can be a service caller who exists in and current Eureka and Zuul clusters,

LoadRunner invokes service callers 117 (117 calls the service application within the cluster via Feignclient),

To achieve the performance test of the cluster, if you think 1 callers have bottlenecks, you can use two callers. (LoadRunner can be configured)


Scenario 2

117 can also be a routing gateway address, plus the corresponding port, followed by the micro-service node, + service name

Another example

10.166.15.29:16096/invoice-core-service-provider/invoice-core/getauthorization

In this case, there is a single node in the joint (not highly reliable).


Scenario 3

117 is an nginx address, by forwarding to multiple gateway routing addresses and then referring to Scenario 2


all 3 Scenarios Configure the Gateway's routing support for the microservices

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.