github.com/canhui/fabric_ca2_2@v2.0.0-alpha+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: get-tcerts
    39  - name: re-enroll
    40  - name: get-tcerts
    41    repeat: 1
    42    req:
    43      count: 10
    44      prekey: ''
    45      disable_kdf: true
    46      encrypt_attrs: true
    47  - name: revoke
    48    repeat: 1
    49    req:
    50      name: ''
    51      aki: revokeaki
    52      serial: ''
    53      reason: 1
    54  - name: get-cacert
    55  
    56  #############################################################################
    57  # Name of the affiliation used in the tests
    58  #############################################################################
    59  affiliation: bank_a
    60  
    61  #############################################################################
    62  # The Fabric CA client configuration. Each test client uses a fabric CA client
    63  # to send requests to the Fabric CA server
    64  #############################################################################
    65  caClientConfig:
    66    csr:
    67      cn: ''
    68      names:
    69      - C: US
    70        ST: North Carolina
    71        L: Raleigh
    72        O: Hyperledger
    73        OU: Fabric
    74    tls:
    75      enabled: true
    76      certfiles:
    77        - ../../testdata/root.pem
    78      client:
    79        certfile: ''
    80        keyfile: ''