Test duration : 10.042s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2022-02-08 21:50:05 |
2022-02-08 21:50:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:05 | ------------------------------------ 2022-02-08 21:50:05 | [Mutex] waiting for: [configured:node:node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8:node-5384dbed-c4b3-4652-a4a3-fee3bcf0b913] 2022-02-08 21:50:05 | [Mutex] received everything. 2022-02-08 21:50:05 | [Mutex] isItemNotified: configured:node:node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8:node-5384dbed-c4b3-4652-a4a3-fee3bcf0b913 :: true 2022-02-08 21:50:06 | [Mutex] waiting for: [received:nodes:be4ec920-8236-4282-bf76-ebfa40914434:localhost] 2022-02-08 21:50:06 | [Mutex] received everything. 2022-02-08 21:50:06 | [Mutex] isItemNotified: received:node:be4ec920-8236-4282-bf76-ebfa40914434:localhost:node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8:Node d00a5f5f-5f8b-45fd-9014-fa4016dca5d8 :: true 2022-02-08 21:50:06 | [Mutex] waiting for: [received:nodes:203a802c-b9ca-4cd7-9991-da9bd7c96317:localhost] 2022-02-08 21:50:06 | [Mutex] received everything. 2022-02-08 21:50:06 | [Mutex] isItemNotified: received:node:203a802c-b9ca-4cd7-9991-da9bd7c96317:localhost:node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8:Node d00a5f5f-5f8b-45fd-9014-fa4016dca5d8 :: false |
createNodes | 1.604s |
2022-02-08 21:50:03 |
2022-02-08 21:50:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:03 | ------------------------------------ 2022-02-08 21:50:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</title></pubsub></data> 2022-02-08 21:50:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 21:50:04 | [Mutex] waiting for: [received:nodes:9d0d0406-68db-46f2-8ffa-898d24f3edf4:localhost] 2022-02-08 21:50:04 | [Mutex] received everything. 2022-02-08 21:50:04 | [Mutex] isItemNotified: received:node:9d0d0406-68db-46f2-8ffa-898d24f3edf4:localhost:node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8:Node d00a5f5f-5f8b-45fd-9014-fa4016dca5d8 :: true |
createSubnodes | 1.030s |
2022-02-08 21:50:04 |
2022-02-08 21:50:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:04 | ------------------------------------ 2022-02-08 21:50:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5384dbed-c4b3-4652-a4a3-fee3bcf0b913</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5384dbed-c4b3-4652-a4a3-fee3bcf0b913</title></pubsub></data> 2022-02-08 21:50:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 21:50:05 | [Mutex] waiting for: [received:nodes:e2bc1558-a21a-4a2f-9db3-4c995bfa5fa9:localhost] 2022-02-08 21:50:05 | [Mutex] waiting for: [received:nodes:e2bc1558-a21a-4a2f-9db3-4c995bfa5fa9:localhost] 2022-02-08 21:50:05 | [Mutex] received everything. 2022-02-08 21:50:05 | [Mutex] isItemNotified: received:node:e2bc1558-a21a-4a2f-9db3-4c995bfa5fa9:localhost:node-5384dbed-c4b3-4652-a4a3-fee3bcf0b913:Node 5384dbed-c4b3-4652-a4a3-fee3bcf0b913 :: true |
deleteNodes | 1.020s |
2022-02-08 21:50:11 |
2022-02-08 21:50:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:11 | ------------------------------------ 2022-02-08 21:50:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5384dbed-c4b3-4652-a4a3-fee3bcf0b913</node></data> 2022-02-08 21:50:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 21:50:12 | [Mutex] waiting for: [received:nodes:49bd58a4-e1e1-4c38-96c0-6e600f09851d:localhost] 2022-02-08 21:50:12 | [Mutex] waiting for: [received:nodes:49bd58a4-e1e1-4c38-96c0-6e600f09851d:localhost] 2022-02-08 21:50:12 | [Mutex] received everything. 2022-02-08 21:50:12 | [Mutex] isItemNotified: received:node:49bd58a4-e1e1-4c38-96c0-6e600f09851d:localhost:node-5384dbed-c4b3-4652-a4a3-fee3bcf0b913:Node 5384dbed-c4b3-4652-a4a3-fee3bcf0b913 :: false |
deleteSubnodes | 1.138s |
2022-02-08 21:50:10 |
2022-02-08 21:50:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:10 | ------------------------------------ 2022-02-08 21:50:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</node></data> 2022-02-08 21:50:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-08 21:50:11 | [Mutex] waiting for: [received:nodes:1be2c22b-c365-4c62-9802-f59166d146aa:localhost] 2022-02-08 21:50:11 | [Mutex] received everything. 2022-02-08 21:50:11 | [Mutex] isItemNotified: received:node:1be2c22b-c365-4c62-9802-f59166d146aa:localhost:node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8:Node d00a5f5f-5f8b-45fd-9014-fa4016dca5d8 :: false 2022-02-08 21:50:11 | [Mutex] waiting for: [received:nodes:0450a262-234d-4f75-b7be-aaa9907a360d:localhost] 2022-02-08 21:50:11 | [Mutex] received everything. 2022-02-08 21:50:11 | [Mutex] isItemNotified: received:node:0450a262-234d-4f75-b7be-aaa9907a360d:localhost:node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8:Node d00a5f5f-5f8b-45fd-9014-fa4016dca5d8 :: false |
publishItemsToNodes | 0.240s |
2022-02-08 21:50:07 |
2022-02-08 21:50:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:07 | ------------------------------------ 2022-02-08 21:50:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</node><item-id>item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec</item-id><entry><test>item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec</test></entry></data> 2022-02-08 21:50:08 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec</value></item-id></result> 2022-02-08 21:50:08 | [Mutex] received everything. 2022-02-08 21:50:08 | [Mutex] isItemNotified: published:item:notifieditem-5b74d9d0-3500-4f6b-a0a7-5a757427bbec:admin@test-domain.com :: true |
retractItemsFromNodes | 0.203s |
2022-02-08 21:50:08 |
2022-02-08 21:50:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:08 | ------------------------------------ 2022-02-08 21:50:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</node><item-id>item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec</item-id></data> 2022-02-08 21:50:08 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec</value></item-id></result> 2022-02-08 21:50:08 | [Mutex] received everything. 2022-02-08 21:50:08 | [Mutex] isItemNotified: retracted:item:notifieditem-5b74d9d0-3500-4f6b-a0a7-5a757427bbec:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.336s |
2022-02-08 21:50:08 |
2022-02-08 21:50:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:08 | ------------------------------------ 2022-02-08 21:50:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</node><item-id>item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec</item-id></data> 2022-02-08 21:50:08 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</value></node><item-id type="text-single" label="Item ID"><value>item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec</value></item-id><item type="text-multi" label="Item"><value><item id="item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec"><test>item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec</test></item></value></item></result> 2022-02-08 21:50:08 | [Mutex] notify: [retrieved:item:item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec:payload-matches:true:localhost] 2022-02-08 21:50:08 | [Mutex] received everything. 2022-02-08 21:50:08 | [Mutex] isItemNotified: retrieved:item:item-5b74d9d0-3500-4f6b-a0a7-5a757427bbec:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-08 21:50:08 |
2022-02-08 21:50:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:08 | ------------------------------------ 2022-02-08 21:50:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-08 21:50:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-5384dbed-c4b3-4652-a4a3-fee3bcf0b913</value><value>test</value><value>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-02-08 21:50:08 |
2022-02-08 21:50:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:08 | ------------------------------------ 2022-02-08 21:50:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8)</node-pattern></data> 2022-02-08 21:50:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.189s |
2022-02-08 21:50:06 |
2022-02-08 21:50:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:06 | ------------------------------------ 2022-02-08 21:50:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-08 21:50:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.271s |
2022-02-08 21:50:08 |
2022-02-08 21:50:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-08 21:50:08 | ------------------------------------ 2022-02-08 21:50:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d00a5f5f-5f8b-45fd-9014-fa4016dca5d8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-08 21:50:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |