Test duration : 9.665s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-06-06 22:40:06 |
2022-06-06 22:40:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:06 | ------------------------------------ 2022-06-06 22:40:06 | [Mutex] waiting for: [configured:node:node-c4b008be-61f4-469e-9517-4c4ee022086b:node-4eed66c1-e875-4dc0-b19b-f16a5b7b33c9] 2022-06-06 22:40:06 | [Mutex] received everything. 2022-06-06 22:40:06 | [Mutex] isItemNotified: configured:node:node-c4b008be-61f4-469e-9517-4c4ee022086b:node-4eed66c1-e875-4dc0-b19b-f16a5b7b33c9 :: true 2022-06-06 22:40:07 | [Mutex] waiting for: [received:nodes:d806f2a8-f3f7-485a-8766-c8ce7627ad1b:localhost] 2022-06-06 22:40:07 | [Mutex] received everything. 2022-06-06 22:40:07 | [Mutex] isItemNotified: received:node:d806f2a8-f3f7-485a-8766-c8ce7627ad1b:localhost:node-c4b008be-61f4-469e-9517-4c4ee022086b:Node c4b008be-61f4-469e-9517-4c4ee022086b :: true 2022-06-06 22:40:07 | [Mutex] waiting for: [received:nodes:f37103d4-39f0-4227-8d32-61920489b33b:localhost] 2022-06-06 22:40:07 | [Mutex] received everything. 2022-06-06 22:40:07 | [Mutex] isItemNotified: received:node:f37103d4-39f0-4227-8d32-61920489b33b:localhost:node-c4b008be-61f4-469e-9517-4c4ee022086b:Node c4b008be-61f4-469e-9517-4c4ee022086b :: false |
createNodes | 1.524s |
2022-06-06 22:40:03 |
2022-06-06 22:40:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:03 | ------------------------------------ 2022-06-06 22:40:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c4b008be-61f4-469e-9517-4c4ee022086b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c4b008be-61f4-469e-9517-4c4ee022086b</title></pubsub></data> 2022-06-06 22:40:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:40:05 | [Mutex] waiting for: [received:nodes:9bf83760-a98f-4aa9-9cf6-ff9c8ee7878a:localhost] 2022-06-06 22:40:05 | [Mutex] received everything. 2022-06-06 22:40:05 | [Mutex] isItemNotified: received:node:9bf83760-a98f-4aa9-9cf6-ff9c8ee7878a:localhost:node-c4b008be-61f4-469e-9517-4c4ee022086b:Node c4b008be-61f4-469e-9517-4c4ee022086b :: true |
createSubnodes | 1.032s |
2022-06-06 22:40:05 |
2022-06-06 22:40:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:05 | ------------------------------------ 2022-06-06 22:40:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4eed66c1-e875-4dc0-b19b-f16a5b7b33c9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4eed66c1-e875-4dc0-b19b-f16a5b7b33c9</title></pubsub></data> 2022-06-06 22:40:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:40:06 | [Mutex] waiting for: [received:nodes:113e2600-860b-4afb-9f02-7b3cae82459c:localhost] 2022-06-06 22:40:06 | [Mutex] received everything. 2022-06-06 22:40:06 | [Mutex] isItemNotified: received:node:113e2600-860b-4afb-9f02-7b3cae82459c:localhost:node-4eed66c1-e875-4dc0-b19b-f16a5b7b33c9:Node 4eed66c1-e875-4dc0-b19b-f16a5b7b33c9 :: true |
deleteNodes | 1.023s |
2022-06-06 22:40:11 |
2022-06-06 22:40:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:11 | ------------------------------------ 2022-06-06 22:40:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4eed66c1-e875-4dc0-b19b-f16a5b7b33c9</node></data> 2022-06-06 22:40:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:40:12 | [Mutex] waiting for: [received:nodes:8503a38f-3784-4404-8d79-4de54deae189:localhost] 2022-06-06 22:40:12 | [Mutex] received everything. 2022-06-06 22:40:12 | [Mutex] isItemNotified: received:node:8503a38f-3784-4404-8d79-4de54deae189:localhost:node-4eed66c1-e875-4dc0-b19b-f16a5b7b33c9:Node 4eed66c1-e875-4dc0-b19b-f16a5b7b33c9 :: false |
deleteSubnodes | 1.163s |
2022-06-06 22:40:10 |
2022-06-06 22:40:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:10 | ------------------------------------ 2022-06-06 22:40:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c4b008be-61f4-469e-9517-4c4ee022086b</node></data> 2022-06-06 22:40:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:40:11 | [Mutex] waiting for: [received:nodes:b9e0651c-638e-467f-a7fd-b699524397c3:localhost] 2022-06-06 22:40:11 | [Mutex] received everything. 2022-06-06 22:40:11 | [Mutex] isItemNotified: received:node:b9e0651c-638e-467f-a7fd-b699524397c3:localhost:node-c4b008be-61f4-469e-9517-4c4ee022086b:Node c4b008be-61f4-469e-9517-4c4ee022086b :: false 2022-06-06 22:40:11 | [Mutex] waiting for: [received:nodes:451c452f-fbba-4f55-8827-05fb0b717cda:localhost] 2022-06-06 22:40:11 | [Mutex] received everything. 2022-06-06 22:40:11 | [Mutex] isItemNotified: received:node:451c452f-fbba-4f55-8827-05fb0b717cda:localhost:node-c4b008be-61f4-469e-9517-4c4ee022086b:Node c4b008be-61f4-469e-9517-4c4ee022086b :: false |
publishItemsToNodes | 0.225s |
2022-06-06 22:40:08 |
2022-06-06 22:40:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:08 | ------------------------------------ 2022-06-06 22:40:08 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c4b008be-61f4-469e-9517-4c4ee022086b</node><item-id>item-3569b397-6f5f-45dd-a215-b594934b06da</item-id><entry><test>item-3569b397-6f5f-45dd-a215-b594934b06da</test></entry></data> 2022-06-06 22:40:08 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-3569b397-6f5f-45dd-a215-b594934b06da</value></item-id></result> 2022-06-06 22:40:08 | [Mutex] waiting for: [published:item:notifieditem-3569b397-6f5f-45dd-a215-b594934b06da:admin@test-domain.com] 2022-06-06 22:40:08 | [Mutex] received everything. 2022-06-06 22:40:08 | [Mutex] isItemNotified: published:item:notifieditem-3569b397-6f5f-45dd-a215-b594934b06da:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2022-06-06 22:40:09 |
2022-06-06 22:40:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:09 | ------------------------------------ 2022-06-06 22:40:09 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c4b008be-61f4-469e-9517-4c4ee022086b</node><item-id>item-3569b397-6f5f-45dd-a215-b594934b06da</item-id></data> 2022-06-06 22:40:09 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-3569b397-6f5f-45dd-a215-b594934b06da</value></item-id></result> 2022-06-06 22:40:09 | [Mutex] received everything. 2022-06-06 22:40:09 | [Mutex] isItemNotified: retracted:item:notifieditem-3569b397-6f5f-45dd-a215-b594934b06da:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.224s |
2022-06-06 22:40:08 |
2022-06-06 22:40:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:08 | ------------------------------------ 2022-06-06 22:40:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c4b008be-61f4-469e-9517-4c4ee022086b</node><item-id>item-3569b397-6f5f-45dd-a215-b594934b06da</item-id></data> 2022-06-06 22:40:08 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-c4b008be-61f4-469e-9517-4c4ee022086b</value></node><item-id label="Item ID" type="text-single"><value>item-3569b397-6f5f-45dd-a215-b594934b06da</value></item-id><item label="Item" type="text-multi"><value><item id="item-3569b397-6f5f-45dd-a215-b594934b06da"><test>item-3569b397-6f5f-45dd-a215-b594934b06da</test></item></value></item></result> 2022-06-06 22:40:08 | [Mutex] notify: [retrieved:item:item-3569b397-6f5f-45dd-a215-b594934b06da:payload-matches:true:localhost] 2022-06-06 22:40:08 | [Mutex] received everything. 2022-06-06 22:40:08 | [Mutex] isItemNotified: retrieved:item:item-3569b397-6f5f-45dd-a215-b594934b06da:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-06 22:40:08 |
2022-06-06 22:40:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:08 | ------------------------------------ 2022-06-06 22:40:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-06 22:40:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-c4b008be-61f4-469e-9517-4c4ee022086b</value><value>node-4eed66c1-e875-4dc0-b19b-f16a5b7b33c9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-06-06 22:40:09 |
2022-06-06 22:40:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:09 | ------------------------------------ 2022-06-06 22:40:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c4b008be-61f4-469e-9517-4c4ee022086b)</node-pattern></data> 2022-06-06 22:40:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.112s |
2022-06-06 22:40:07 |
2022-06-06 22:40:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:07 | ------------------------------------ 2022-06-06 22:40:07 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c4b008be-61f4-469e-9517-4c4ee022086b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-06 22:40:07 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2022-06-06 22:40:09 |
2022-06-06 22:40:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:40:09 | ------------------------------------ 2022-06-06 22:40:09 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c4b008be-61f4-469e-9517-4c4ee022086b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-06 22:40:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |