小编sha*_*hab的帖子

PhantomJS挂了很长时间,说"异步会话清理阶段现在开始"

这是一个截图:

PhantomJS等待一些电话

task :  Codeception PHP Testing Framework v1.6.2
Powered by PHPUnit 3.7.19 by Sebastian Bergmann.

Suite selenium_acceptance started

Trying to see the welcome page of newweather (welcomeCept.php)

issue : it sits as it is and waiting for phantomJS to respond and below is what phantomJS screen is showing :

[INFO  - 2014-03-13T01:42:51.575Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: ca14e740-aa50-11e3-bb6b-75468ba86108

[INFO  - 2014-03-13T01:47:42.806Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW

[INFO  - 2014-03-13T01:52:42.806Z] SessionManagerReqHand - _cleanupWindowlessSessions - …
Run Code Online (Sandbox Code Playgroud)

php selenium asynchronous phantomjs

48
推荐指数
1
解决办法
4896
查看次数

jmeter测试因内存不足错误而失败

当尝试使用50或更多用户运行jMeter时,它会给出OutOfMemoryError:

2013/12/18 13:35:15 ERROR - jmeter.threads.JMeterThread: Error processing Assertion  java.lang.OutOfMemoryError: Java heap space
2013/12/18 13:35:15 ERROR - jmeter.threads.JMeterThread: Error processing Assertion     java.lang.OutOfMemoryError: Java heap space
2013/12/18 13:35:15 ERROR - jmeter.threads.JMeterThread: Error processing Assertion  java.lang.OutOfMemoryError: Java heap space
2013/12/18 13:35:15 ERROR - jmeter.threads.JMeterThread: Error processing Assertion  java.lang.OutOfMemoryError: Java heap space
2013/12/18 13:35:16 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: Java heap space
2013/12/18 13:35:17 ERROR - jmeter.threads.JMeterThread: Test failed! 
Run Code Online (Sandbox Code Playgroud)

我试图增加堆大小但仍然得到相同的错误.
即使我试图删除所有的听众,但没有任何改变.

java jmeter

15
推荐指数
2
解决办法
4万
查看次数

获取java.lang.NullPointerException后构建失败:jenkins中的类型部分是必需的错误

       jenkins version  1.573
Run Code Online (Sandbox Code Playgroud)

我在构建说下面的错误后得到以下错误

\WidgetEntityTest::testCrudExercises_bundletemplatewidgets
     [exec] 1..278
     [exec] 
     [exec] Generating code coverage report in Clover XML format ... done
     [exec] 
     [exec] Generating code coverage report in HTML format ... done

BUILD SUCCESSFUL
Total time: 30 minutes 19 seconds
Terminating xvnc.
$ vncserver -kill :42
Killing Xvnc process ID 20680
FATAL: The types section is required.
java.lang.NullPointerException: The types section is required.
        at org.jenkinsci.plugins.xunit.XUnitProcessor.<init>(XUnitProcessor.java:41)
        at org.jenkinsci.plugins.xunit.XUnitBuilder.perform(XUnitBuilder.java:76)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
        at hudson.model.Build$BuildExecution.build(Build.java:199)
        at hudson.model.Build$BuildExecution.doRun(Build.java:160)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535)
        at hudson.model.Run.execute(Run.java:1732)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at …
Run Code Online (Sandbox Code Playgroud)

jenkins jenkins-plugins

6
推荐指数
1
解决办法
924
查看次数

如何使用RBAC API获取所有角色分配的列表

我正在向以下API发出GET请求

https://management.azure.com/subscriptions/{{subscriptionId}}/providers/Microsoft.Authorization/roleAssignments?api-version=2017-10-01-preview
Run Code Online (Sandbox Code Playgroud)

这给了我以下的响应格式

{
            "properties": {
                "roleDefinitionId": "/subscriptions/5a9c0639-4045-4c23-8418-fc091e8d1e31/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c",
                "principalId": "fdef6f38-b48f-4358-8482-b243ea935082",
                "principalType": "User",
                "scope": "/subscriptions/5a9c0639-4045-4c23-8418-fc091e8d1e31/resourceGroups/GE-RGrp-Kentico",
                "createdOn": "2017-08-21T11:38:53.7973201Z",
                "updatedOn": "2017-08-21T11:38:53.7973201Z",
                "createdBy": "f418e9e8-becc-41d8-ab47-66a4c50403b5",
                "updatedBy": "f418e9e8-becc-41d8-ab47-66a4c50403b5"
            },
            "id": "/subscriptions/5a9c0639-4045-4c23-8418-fc091e8d1e31/resourceGroups/GE-RGrp-Kentico/providers/Microsoft.Authorization/roleAssignments/5e6caac9-c5fd-42f0-86c6-9e96b127be51",
            "type": "Microsoft.Authorization/roleAssignments",
            "name": "5e6caac9-c5fd-42f0-86c6-9e96b127be51"
        }
Run Code Online (Sandbox Code Playgroud)

但是,当我执行CLI调用时,我会得到以下响应

> az  role assignment list

{
    "id": "/subscriptions/5a9c0639-4045-4c23-8418-fc091e8d1e31/providers/Microsoft.Authorization/roleAssignments/4096c146-b6f8-4f92-a700-a47742a5b321",
    "name": "4096c146-b6f8-4f92-a700-a47742a5b321",
    "properties": {
      "additionalProperties": {
        "createdBy": "c2024d65-cf17-45fd-b34b-09cd5c21cac7",
        "createdOn": "2017-11-07T22:03:12.4998370Z",
        "updatedBy": "c2024d65-cf17-45fd-b34b-09cd5c21cac7",
        "updatedOn": "2017-11-07T22:03:12.4998370Z"
      },
      "principalId": "780925c0-a487-4529-9eb2-837aa67a4d8a",
      "principalName": "xcavanap@genesisenergy.co.nz",
      "roleDefinitionId": "/subscriptions/5a9c0639-4045-4c23-8418-fc091e8d1e31/providers/Microsoft.Authorization/roleDefinitions/fb1c8493-542b-48eb-b624-b4c8fea62acd",
      "roleDefinitionName": "Security Admin",
      "scope": "/subscriptions/5a9c0639-4045-4c23-8418-fc091e8d1e31"
    },
Run Code Online (Sandbox Code Playgroud)

上面的回应确实有

"roleDefinitionName": "Security Admin"

但我希望通过API获得相同的响应,请帮助!!

api rbac azure azure-active-directory

6
推荐指数
1
解决办法
1626
查看次数