request_method:POST
body:{"compress":"","secret_key":"","wk_list":[{"wk_uuid":"67E33CDB-D75B-15B3-367D-50C764F5A26F","wk_path":"E:\\nas\\"}],"nas_type":0,"sync_path":"","encrypt_switch":"0","band_width":"","bk_uuid":"67E33CDB-D75B-15B3-367D-50C764F5A26F","bk_path":"E:\\t\\","sync_uuid":"","nas_name":"test","cmp_schedule":[],"cmp_file_check":0,"cmp_switch":0}
url:http://192.168.72.70:58080/api/nas/sync
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'nas_uuid' => '11111111-1111-1111-1111-111111111111',
        'wk_uuid' => '67E33CDB-D75B-15B3-367D-50C764F5A26F',
      ),
    ),
  ),
  1 => NULL,
)

Time: 857 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0



request_method:GET
url:http://192.168.72.70:58080/api/nas/sync?limit=10&page=1&_=0.49012163266919
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'info_list' => 
    array (
      0 => 
      array (
        'band_width' => '',
        'encrypt_switch' => '0',
        'random_str' => '11111111-1111-1111-1111-111111111111',
        'sync_node_name' => NULL,
        'wk_node_name' => 'N3_72.75',
        'bk_node_name' => 'N3_72.75',
        'username' => 'admin',
        'bk_path' => 'E:\\t\\',
        'bk_uuid' => '67E33CDB-D75B-15B3-367D-50C764F5A26F',
        'group_uuid' => '11111111-1111-1111-1111-111111111111',
        'nas_name' => 'test',
        'nas_type' => 0,
        'nas_uuid' => '11111111-1111-1111-1111-111111111111',
        'sync_path' => '',
        'sync_uuid' => '',
        'wk_path' => 'E:\\nas\\',
        'wk_uuid' => '67E33CDB-D75B-15B3-367D-50C764F5A26F',
      ),
    ),
    'total' => 1,
  ),
  1 => NULL,
)

Time: 622 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/nas/sync/11111111-1111-1111-1111-111111111111/group
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'nas' => 
    array (
      'sync_node_name' => NULL,
      'wk_node_name' => 'N3_72.75',
      'bk_node_name' => 'N3_72.75',
      'band_width' => '',
      'cmp_schedule' => 
      array (
      ),
      'cmp_file_check' => 0,
      'cmp_switch' => 0,
      'compress' => '0',
      'create_time' => '1546940189',
      'encrypt_switch' => '0',
      'random_str' => '11111111-1111-1111-1111-111111111111',
      'secret_key' => '',
      'id' => '5',
      'nas_name' => 'test',
      'user_uuid' => '1BCFCAA3-E3C8-3E28-BDC5-BE36FDC2B5DC',
      'bk_uuid' => '67E33CDB-D75B-15B3-367D-50C764F5A26F',
      'bk_path' => 'E:\\t\\',
      'sync_uuid' => '',
      'sync_path' => '',
      'group_uuid' => '11111111-1111-1111-1111-111111111111',
      'nas_uuid' => '11111111-1111-1111-1111-111111111111',
      'nas_type' => 0,
      'cmp_node_uuid' => '67E33CDB-D75B-15B3-367D-50C764F5A26F',
      'status' => NULL,
      'wk_list' => 
      array (
        0 => 
        array (
          'wk_uuid' => '67E33CDB-D75B-15B3-367D-50C764F5A26F',
          'wk_path' => 'E:\\nas\\',
          'nas_uuid' => '11111111-1111-1111-1111-111111111111',
          'wk_node_name' => 'N3_72.75',
        ),
      ),
    ),
  ),
  1 => NULL,
)

Time: 531 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:PUT
body:{"random_str":"11111111-1111-1111-1111-111111111111","compress":"","secret_key":"","wk_list":[{"wk_uuid":"67E33CDB-D75B-15B3-367D-50C764F5A26F","wk_path":"E:\\nas\\"}],"nas_type":0,"sync_path":"","encrypt_switch":"0","band_width":"","bk_uuid":"67E33CDB-D75B-15B3-367D-50C764F5A26F","bk_path":"E:\\test\\","sync_uuid":"","nas_name":"test2","cmp_schedule":[],"cmp_file_check":0,"cmp_switch":0}
url:http://192.168.72.70:58080/api/nas/sync/11111111-1111-1111-1111-111111111111/group
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'nas_uuid' => '11111111-1111-1111-1111-111111111111',
        'wk_uuid' => '67E33CDB-D75B-15B3-367D-50C764F5A26F',
      ),
    ),
  ),
  1 => NULL,
)

Time: 767 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/nas/sync/status?nas_uuids[]=11111111-1111-1111-1111-111111111111&_=0.94701677208369
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'status' => 
    array (
      0 => 
      array (
        'nas_uuid' => '11111111-1111-1111-1111-111111111111',
        'status' => 'STOP',
        'sync_status' => '',
      ),
    ),
  ),
  1 => NULL,
)

Time: 618 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:DELETE
body:{"nas_uuids":["11111111-1111-1111-1111-111111111111"]}
url:http://192.168.72.70:58080/api/nas/sync
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'nas_uuid' => '11111111-1111-1111-1111-111111111111',
      ),
    ),
  ),
  1 => NULL,
)

Time: 645 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"nas_uuids":["11111111-1111-1111-1111-111111111111"],"operate":"start"}
url:http://192.168.72.70:58080/api/nas/sync/operate
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'nas_uuid' => '11111111-1111-1111-1111-111111111111',
      ),
    ),
  ),
  1 => NULL,
)

Time: 721 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"nas_uuids":["11111111-1111-1111-1111-111111111111"],"operate":"stop"}
url:http://192.168.72.70:58080/api/nas/sync/operate
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'nas_uuid' => '11111111-1111-1111-1111-111111111111',
      ),
    ),
  ),
  1 => NULL,
)

Time: 670 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0