zoukankan      html  css  js  c++  java
  • Jmeter30:正则表达式提取器,例题

    复杂的情况如下:

    比如我同时想获取 这里面的2个值

    {"code":"0","message":"success","data":[{"id":0,"userName":"性能测试学员0","password":null,"age":71,"gender":0,"phoneNum":"13788881187","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":1,"userName":"性能测试学员1","password":null,"age":13,"gender":0,"phoneNum":"13788881868","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":2,"userName":"性能测试学员2","password":null,"age":89,"gender":0,"phoneNum":"13788881370","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":3,"userName":"性能测试学员3","password":null,"age":52,"gender":0,"phoneNum":"13788881512","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":4,"userName":"性能测试学员4","password":null,"age":48,"gender":0,"phoneNum":"13788881773","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":5,"userName":"性能测试学员5","password":null,"age":22,"gender":0,"phoneNum":"13788881348","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":6,"userName":"性能测试学员6","password":null,"age":10,"gender":0,"phoneNum":"13788881309","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":7,"userName":"性能测试学员7","password":null,"age":53,"gender":0,"phoneNum":"13788881244","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":8,"userName":"性能测试学员8","password":null,"age":90,"gender":0,"phoneNum":"13788881236","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"},{"id":9,"userName":"性能测试学员9","password":null,"age":63,"gender":0,"phoneNum":"13788881455","email":"beihe@testfan.com","address":"北京市昌平区科星西路106号院(国风美唐花园综合楼)3号楼1111","createTime":"2021-05-09T12:30:28.680+0000","updateTime":"2021-05-09T12:30:28.680+0000"}]}

     

  • 相关阅读:
    object c 基础语法
    Object-C 基础知识总结
    【POJ1475】Pushing Boxes-A*(或BFS?)
    【POJ1475】Pushing Boxes-A*(或BFS?)
    【POJ2286】The Rotation Game-迭代加深DFS+可行性剪枝
    【CodeVS1004】四子连棋-迭代加深搜索入门
    【CodeVS1004】四子连棋-迭代加深搜索入门
    【Poj2449】Remmarguts' Date-k短路(A*解法)
    【Poj2449】Remmarguts' Date-k短路(A*解法)
    【HDU4090】Gem and Prince-DFS+可行性剪枝
  • 原文地址:https://www.cnblogs.com/zhenyu1/p/10876318.html
Copyright © 2011-2022 走看看