We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
准确的说这不是一个feature的要求,可能是我对框架变量维护的理解不到位,但我已经翻遍了所有的文档和google了相关关键字,并没有发现明确的描述。
由于没有找到文档描述,首先我希望确认下对任务初始化变量的逻辑的理解是正确的:一个模板里所有请求在'测试/test'页面里定义的变量将出现在创建任务的对话框里,除非这个同名的变量在之前的请求里通过变量提取功能里创建的。
如果我的理解是正确的,那目前发现有个问题:根据模板创建任务,要求填入典型的用户名,密码的初始化变量外,还被要求填写一个模板里特别后期才从页面正则获取的变量,p_level。在模板修改页面,第一个请求编辑页面里,确实可以看到这个变量,于是将其删除后保存模板,再次编辑模板,第一个请求到变量提取定义这个p_level的之前的所有请求都确保没有了这个p_level的手工定义。创建任务,依然提示要求填写p_level,这时候再回去编辑模板,第一个请求里又出现了这个变量的定义。重复前面步骤,删除保存,再次打开模板编辑确认变量没有预先定义,但再次创建任务就又出现了。同时,保存模板前和保存模板后我用导出功能导出了har,对比后都没有这个p_level的预先定义
或许可以有一个地方明确的定义初始化的变量,请求过程中可以重新定义来“重载”,这样也方便一些需要登录模板的调试
No response
The text was updated successfully, but these errors were encountered:
请提供一个har用于测试,有截图的话就更好了
Sorry, something went wrong.
No branches or pull requests
Verify steps
Describe the Feature
准确的说这不是一个feature的要求,可能是我对框架变量维护的理解不到位,但我已经翻遍了所有的文档和google了相关关键字,并没有发现明确的描述。
由于没有找到文档描述,首先我希望确认下对任务初始化变量的逻辑的理解是正确的:一个模板里所有请求在'测试/test'页面里定义的变量将出现在创建任务的对话框里,除非这个同名的变量在之前的请求里通过变量提取功能里创建的。
如果我的理解是正确的,那目前发现有个问题:根据模板创建任务,要求填入典型的用户名,密码的初始化变量外,还被要求填写一个模板里特别后期才从页面正则获取的变量,p_level。在模板修改页面,第一个请求编辑页面里,确实可以看到这个变量,于是将其删除后保存模板,再次编辑模板,第一个请求到变量提取定义这个p_level的之前的所有请求都确保没有了这个p_level的手工定义。创建任务,依然提示要求填写p_level,这时候再回去编辑模板,第一个请求里又出现了这个变量的定义。重复前面步骤,删除保存,再次打开模板编辑确认变量没有预先定义,但再次创建任务就又出现了。同时,保存模板前和保存模板后我用导出功能导出了har,对比后都没有这个p_level的预先定义
Describe the solution
或许可以有一个地方明确的定义初始化的变量,请求过程中可以重新定义来“重载”,这样也方便一些需要登录模板的调试
Describe alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: