github.com/hyperledger/fabric-ca@v2.0.0-alpha.0.20201120210307-7b4f34729db1+incompatible/test/fabric-ca-load-tester/testConfig.yml (about)

     1  #
     2  # Copyright IBM Corp. All Rights Reserved.
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  #############################################################################
     7  #   This is a fabric-ca load test configuration file
     8  #############################################################################
     9  
    10  #############################################################################
    11  # URL of the Fabric CA server. It is of the form: 
    12  # <http|https>://<bootstrap user id>:<bootstrap password>@<hostname>:<port>
    13  # The bootstrap user must have revoker authority and must be affiliated with
    14  # root of the affiliation tree, which is "" or the parent affiliation of the
    15  # affiliation specified in the `affiliation` property.
    16  # If the scheme is https, then set tls.enabled=true and specify the server's
    17  # tls certificate in the "tls.certfiles" property
    18  #############################################################################
    19  serverURL: https://admin:adminpw@localhost:8888
    20  
    21  #############################################################################
    22  # Number of clients. Each client thread sends number of requests specified
    23  # by the "numReqsPerClient" property in the order specified by the "testSeq"
    24  # property. 
    25  #############################################################################
    26  numClients: 25
    27  numReqsPerClient: 250
    28  
    29  #############################################################################
    30  # The "testSeq" property specifies the sequence of tests that are run in 
    31  # each iteration by a client. Each test has a "name" and optional "repeat" 
    32  # and "req" properties. The "repeat" property specifies how many times 
    33  # to repeat the test in each iteration. The "req" property specifies payload 
    34  # for the request that is sent to the Fabric CA server. 
    35  #############################################################################
    36  testSeq:
    37  - name: register-enroll
    38  - name: re-enroll
    39  - name: revoke
    40    repeat: 1
    41    req:
    42      name: ''
    43      aki: revokeaki
    44      serial: ''
    45      reason: 1
    46  - name: get-cacert
    47  
    48  #############################################################################
    49  # Name of the affiliation used in the tests
    50  #############################################################################
    51  affiliation: bank_a
    52  
    53  #############################################################################
    54  # The Fabric CA client configuration. Each test client uses a fabric CA client
    55  # to send requests to the Fabric CA server
    56  #############################################################################
    57  caClientConfig:
    58    csr:
    59      cn: ''
    60      names:
    61      - C: US
    62        ST: North Carolina
    63        L: Raleigh
    64        O: Hyperledger
    65        OU: Fabric
    66    tls:
    67      enabled: true
    68      certfiles:
    69        - ../../testdata/root.pem
    70      client:
    71        certfile: ''
    72        keyfile: ''