Test duration : 9.512s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2023-08-25 23:00:58 |
2023-08-25 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:00:58 | ------------------------------------ 2023-08-25 23:00:58 | [Mutex] waiting for: [configured:node:node-2e5dee95-3526-4c75-a2e4-a24d275134b8:node-ca202f79-8199-4b8a-9733-1597cdbdb41c] 2023-08-25 23:00:58 | [Mutex] received everything. 2023-08-25 23:00:58 | [Mutex] isItemNotified: configured:node:node-2e5dee95-3526-4c75-a2e4-a24d275134b8:node-ca202f79-8199-4b8a-9733-1597cdbdb41c :: true 2023-08-25 23:00:59 | [Mutex] waiting for: [received:nodes:54d57807-2605-4f5d-aabf-176da7de2a00:localhost] 2023-08-25 23:00:59 | [Mutex] received everything. 2023-08-25 23:00:59 | [Mutex] isItemNotified: received:node:54d57807-2605-4f5d-aabf-176da7de2a00:localhost:node-2e5dee95-3526-4c75-a2e4-a24d275134b8:Node 2e5dee95-3526-4c75-a2e4-a24d275134b8 :: true 2023-08-25 23:00:59 | [Mutex] waiting for: [received:nodes:bf1ad7a8-e12c-41fc-a837-16387dec92b5:localhost] 2023-08-25 23:00:59 | [Mutex] waiting for: [received:nodes:bf1ad7a8-e12c-41fc-a837-16387dec92b5:localhost] 2023-08-25 23:00:59 | [Mutex] waiting for: [received:nodes:bf1ad7a8-e12c-41fc-a837-16387dec92b5:localhost] 2023-08-25 23:00:59 | [Mutex] waiting for: [received:nodes:bf1ad7a8-e12c-41fc-a837-16387dec92b5:localhost] 2023-08-25 23:00:59 | [Mutex] received everything. 2023-08-25 23:00:59 | [Mutex] isItemNotified: received:node:bf1ad7a8-e12c-41fc-a837-16387dec92b5:localhost:node-2e5dee95-3526-4c75-a2e4-a24d275134b8:Node 2e5dee95-3526-4c75-a2e4-a24d275134b8 :: false |
createNodes | 1.417s |
2023-08-25 23:00:56 |
2023-08-25 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:00:56 | ------------------------------------ 2023-08-25 23:00:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2e5dee95-3526-4c75-a2e4-a24d275134b8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2e5dee95-3526-4c75-a2e4-a24d275134b8</title></pubsub></data> 2023-08-25 23:00:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 23:00:57 | [Mutex] waiting for: [received:nodes:78090463-d9b6-4a13-a732-238ae5f44109:localhost] 2023-08-25 23:00:57 | [Mutex] waiting for: [received:nodes:78090463-d9b6-4a13-a732-238ae5f44109:localhost] 2023-08-25 23:00:57 | [Mutex] waiting for: [received:nodes:78090463-d9b6-4a13-a732-238ae5f44109:localhost] 2023-08-25 23:00:57 | [Mutex] received everything. 2023-08-25 23:00:57 | [Mutex] isItemNotified: received:node:78090463-d9b6-4a13-a732-238ae5f44109:localhost:node-2e5dee95-3526-4c75-a2e4-a24d275134b8:Node 2e5dee95-3526-4c75-a2e4-a24d275134b8 :: true |
createSubnodes | 1.021s |
2023-08-25 23:00:57 |
2023-08-25 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:00:57 | ------------------------------------ 2023-08-25 23:00:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ca202f79-8199-4b8a-9733-1597cdbdb41c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ca202f79-8199-4b8a-9733-1597cdbdb41c</title></pubsub></data> 2023-08-25 23:00:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 23:00:58 | [Mutex] waiting for: [received:nodes:2fc6f35a-ea4b-4045-b8f2-d87d807b8554:localhost] 2023-08-25 23:00:58 | [Mutex] waiting for: [received:nodes:2fc6f35a-ea4b-4045-b8f2-d87d807b8554:localhost] 2023-08-25 23:00:58 | [Mutex] waiting for: [received:nodes:2fc6f35a-ea4b-4045-b8f2-d87d807b8554:localhost] 2023-08-25 23:00:58 | [Mutex] waiting for: [received:nodes:2fc6f35a-ea4b-4045-b8f2-d87d807b8554:localhost] 2023-08-25 23:00:58 | [Mutex] waiting for: [received:nodes:2fc6f35a-ea4b-4045-b8f2-d87d807b8554:localhost] 2023-08-25 23:00:58 | [Mutex] received everything. 2023-08-25 23:00:58 | [Mutex] isItemNotified: received:node:2fc6f35a-ea4b-4045-b8f2-d87d807b8554:localhost:node-ca202f79-8199-4b8a-9733-1597cdbdb41c:Node ca202f79-8199-4b8a-9733-1597cdbdb41c :: true |
deleteNodes | 1.016s |
2023-08-25 23:01:04 |
2023-08-25 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:04 | ------------------------------------ 2023-08-25 23:01:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ca202f79-8199-4b8a-9733-1597cdbdb41c</node></data> 2023-08-25 23:01:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 23:01:05 | [Mutex] waiting for: [received:nodes:daf61fb1-2aeb-4189-bb82-6a6334999dcf:localhost] 2023-08-25 23:01:05 | [Mutex] received everything. 2023-08-25 23:01:05 | [Mutex] isItemNotified: received:node:daf61fb1-2aeb-4189-bb82-6a6334999dcf:localhost:node-ca202f79-8199-4b8a-9733-1597cdbdb41c:Node ca202f79-8199-4b8a-9733-1597cdbdb41c :: false |
deleteSubnodes | 1.127s |
2023-08-25 23:01:02 |
2023-08-25 23:01:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:02 | ------------------------------------ 2023-08-25 23:01:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2e5dee95-3526-4c75-a2e4-a24d275134b8</node></data> 2023-08-25 23:01:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 23:01:04 | [Mutex] waiting for: [received:nodes:17b6922b-c243-45cd-bab1-bf7123320e7c:localhost] 2023-08-25 23:01:04 | [Mutex] waiting for: [received:nodes:17b6922b-c243-45cd-bab1-bf7123320e7c:localhost] 2023-08-25 23:01:04 | [Mutex] waiting for: [received:nodes:17b6922b-c243-45cd-bab1-bf7123320e7c:localhost] 2023-08-25 23:01:04 | [Mutex] waiting for: [received:nodes:17b6922b-c243-45cd-bab1-bf7123320e7c:localhost] 2023-08-25 23:01:04 | [Mutex] received everything. 2023-08-25 23:01:04 | [Mutex] isItemNotified: received:node:17b6922b-c243-45cd-bab1-bf7123320e7c:localhost:node-2e5dee95-3526-4c75-a2e4-a24d275134b8:Node 2e5dee95-3526-4c75-a2e4-a24d275134b8 :: false 2023-08-25 23:01:04 | [Mutex] waiting for: [received:nodes:c2e092d4-9da4-4053-9044-97b043ab7301:localhost] 2023-08-25 23:01:04 | [Mutex] received everything. 2023-08-25 23:01:04 | [Mutex] isItemNotified: received:node:c2e092d4-9da4-4053-9044-97b043ab7301:localhost:node-2e5dee95-3526-4c75-a2e4-a24d275134b8:Node 2e5dee95-3526-4c75-a2e4-a24d275134b8 :: false |
publishItemsToNodes | 0.225s |
2023-08-25 23:01:00 |
2023-08-25 23:01:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:00 | ------------------------------------ 2023-08-25 23:01:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2e5dee95-3526-4c75-a2e4-a24d275134b8</node><item-id>item-51923b21-ca13-4c4b-a086-daade57a88ec</item-id><entry><test>item-51923b21-ca13-4c4b-a086-daade57a88ec</test></entry></data> 2023-08-25 23:01:00 | 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-51923b21-ca13-4c4b-a086-daade57a88ec</value></item-id></result> 2023-08-25 23:01:00 | [Mutex] waiting for: [published:item:notifieditem-51923b21-ca13-4c4b-a086-daade57a88ec:admin@test-domain.com] 2023-08-25 23:01:01 | [Mutex] received everything. 2023-08-25 23:01:01 | [Mutex] isItemNotified: published:item:notifieditem-51923b21-ca13-4c4b-a086-daade57a88ec:admin@test-domain.com :: true |
retractItemsFromNodes | 0.243s |
2023-08-25 23:01:01 |
2023-08-25 23:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:01 | ------------------------------------ 2023-08-25 23:01:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2e5dee95-3526-4c75-a2e4-a24d275134b8</node><item-id>item-51923b21-ca13-4c4b-a086-daade57a88ec</item-id></data> 2023-08-25 23:01:01 | 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-51923b21-ca13-4c4b-a086-daade57a88ec</value></item-id></result> 2023-08-25 23:01:01 | [Mutex] received everything. 2023-08-25 23:01:01 | [Mutex] isItemNotified: retracted:item:notifieditem-51923b21-ca13-4c4b-a086-daade57a88ec:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.260s |
2023-08-25 23:01:01 |
2023-08-25 23:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:01 | ------------------------------------ 2023-08-25 23:01:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2e5dee95-3526-4c75-a2e4-a24d275134b8</node><item-id>item-51923b21-ca13-4c4b-a086-daade57a88ec</item-id></data> 2023-08-25 23:01:01 | 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-2e5dee95-3526-4c75-a2e4-a24d275134b8</value></node><item-id type="text-single" label="Item ID"><value>item-51923b21-ca13-4c4b-a086-daade57a88ec</value></item-id><item type="text-multi" label="Item"><value><item id="item-51923b21-ca13-4c4b-a086-daade57a88ec"><test>item-51923b21-ca13-4c4b-a086-daade57a88ec</test></item></value></item></result> 2023-08-25 23:01:01 | [Mutex] notify: [retrieved:item:item-51923b21-ca13-4c4b-a086-daade57a88ec:payload-matches:true:localhost] 2023-08-25 23:01:01 | [Mutex] received everything. 2023-08-25 23:01:01 | [Mutex] isItemNotified: retrieved:item:item-51923b21-ca13-4c4b-a086-daade57a88ec:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-08-25 23:01:01 |
2023-08-25 23:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:01 | ------------------------------------ 2023-08-25 23:01:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-08-25 23:01:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-ca202f79-8199-4b8a-9733-1597cdbdb41c</value><value>node-2e5dee95-3526-4c75-a2e4-a24d275134b8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-08-25 23:01:01 |
2023-08-25 23:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:01 | ------------------------------------ 2023-08-25 23:01:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2e5dee95-3526-4c75-a2e4-a24d275134b8)</node-pattern></data> 2023-08-25 23:01:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2023-08-25 23:00:59 |
2023-08-25 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:00:59 | ------------------------------------ 2023-08-25 23:00:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2e5dee95-3526-4c75-a2e4-a24d275134b8</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-25 23:00:59 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.272s |
2023-08-25 23:01:01 |
2023-08-25 23:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:01 | ------------------------------------ 2023-08-25 23:01:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2e5dee95-3526-4c75-a2e4-a24d275134b8</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-25 23:01:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |