Test duration : 9.317s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.087s |
2022-08-13 23:02:39 |
2022-08-13 23:02:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:39 | ------------------------------------ 2022-08-13 23:02:39 | [Mutex] waiting for: [configured:node:node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e:node-2f69b971-2d67-45c8-8b6a-2f60eb8e70d6] 2022-08-13 23:02:39 | [Mutex] received everything. 2022-08-13 23:02:39 | [Mutex] isItemNotified: configured:node:node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e:node-2f69b971-2d67-45c8-8b6a-2f60eb8e70d6 :: true 2022-08-13 23:02:40 | [Mutex] waiting for: [received:nodes:44f4ebb5-2490-4f99-9ba7-7053493140cb:localhost] 2022-08-13 23:02:40 | [Mutex] received everything. 2022-08-13 23:02:40 | [Mutex] isItemNotified: received:node:44f4ebb5-2490-4f99-9ba7-7053493140cb:localhost:node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e:Node bb82be1e-35e9-4bb9-891b-fa02a0fa235e :: true 2022-08-13 23:02:40 | [Mutex] waiting for: [received:nodes:4393f486-cd64-456c-8f9d-5326255ed486:localhost] 2022-08-13 23:02:40 | [Mutex] waiting for: [received:nodes:4393f486-cd64-456c-8f9d-5326255ed486:localhost] 2022-08-13 23:02:40 | [Mutex] waiting for: [received:nodes:4393f486-cd64-456c-8f9d-5326255ed486:localhost] 2022-08-13 23:02:40 | [Mutex] waiting for: [received:nodes:4393f486-cd64-456c-8f9d-5326255ed486:localhost] 2022-08-13 23:02:40 | [Mutex] received everything. 2022-08-13 23:02:40 | [Mutex] isItemNotified: received:node:4393f486-cd64-456c-8f9d-5326255ed486:localhost:node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e:Node bb82be1e-35e9-4bb9-891b-fa02a0fa235e :: false |
createNodes | 1.435s |
2022-08-13 23:02:36 |
2022-08-13 23:02:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:36 | ------------------------------------ 2022-08-13 23:02:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bb82be1e-35e9-4bb9-891b-fa02a0fa235e</title></pubsub></data> 2022-08-13 23:02:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-13 23:02:38 | [Mutex] waiting for: [received:nodes:f5a47003-d073-490e-bdf4-11263bfae1fa:localhost] 2022-08-13 23:02:38 | [Mutex] waiting for: [received:nodes:f5a47003-d073-490e-bdf4-11263bfae1fa:localhost] 2022-08-13 23:02:38 | [Mutex] waiting for: [received:nodes:f5a47003-d073-490e-bdf4-11263bfae1fa:localhost] 2022-08-13 23:02:38 | [Mutex] received everything. 2022-08-13 23:02:38 | [Mutex] isItemNotified: received:node:f5a47003-d073-490e-bdf4-11263bfae1fa:localhost:node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e:Node bb82be1e-35e9-4bb9-891b-fa02a0fa235e :: true |
createSubnodes | 1.021s |
2022-08-13 23:02:38 |
2022-08-13 23:02:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:38 | ------------------------------------ 2022-08-13 23:02:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f69b971-2d67-45c8-8b6a-2f60eb8e70d6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f69b971-2d67-45c8-8b6a-2f60eb8e70d6</title></pubsub></data> 2022-08-13 23:02:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-13 23:02:39 | [Mutex] waiting for: [received:nodes:6c419904-4d5c-4e7c-8bf7-42090606d177:localhost] 2022-08-13 23:02:39 | [Mutex] received everything. 2022-08-13 23:02:39 | [Mutex] isItemNotified: received:node:6c419904-4d5c-4e7c-8bf7-42090606d177:localhost:node-2f69b971-2d67-45c8-8b6a-2f60eb8e70d6:Node 2f69b971-2d67-45c8-8b6a-2f60eb8e70d6 :: true |
deleteNodes | 1.016s |
2022-08-13 23:02:44 |
2022-08-13 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:44 | ------------------------------------ 2022-08-13 23:02:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f69b971-2d67-45c8-8b6a-2f60eb8e70d6</node></data> 2022-08-13 23:02:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-13 23:02:45 | [Mutex] waiting for: [received:nodes:57f43975-500d-4863-984f-5a128cef458d:localhost] 2022-08-13 23:02:45 | [Mutex] received everything. 2022-08-13 23:02:45 | [Mutex] isItemNotified: received:node:57f43975-500d-4863-984f-5a128cef458d:localhost:node-2f69b971-2d67-45c8-8b6a-2f60eb8e70d6:Node 2f69b971-2d67-45c8-8b6a-2f60eb8e70d6 :: false |
deleteSubnodes | 1.124s |
2022-08-13 23:02:43 |
2022-08-13 23:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:43 | ------------------------------------ 2022-08-13 23:02:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</node></data> 2022-08-13 23:02:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-13 23:02:44 | [Mutex] waiting for: [received:nodes:b32af231-a4fa-4434-ba9f-072a41103fbe:localhost] 2022-08-13 23:02:44 | [Mutex] waiting for: [received:nodes:b32af231-a4fa-4434-ba9f-072a41103fbe:localhost] 2022-08-13 23:02:44 | [Mutex] received everything. 2022-08-13 23:02:44 | [Mutex] isItemNotified: received:node:b32af231-a4fa-4434-ba9f-072a41103fbe:localhost:node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e:Node bb82be1e-35e9-4bb9-891b-fa02a0fa235e :: false 2022-08-13 23:02:44 | [Mutex] waiting for: [received:nodes:90277483-b14d-47df-a6f5-9b7473c851ed:localhost] 2022-08-13 23:02:44 | [Mutex] received everything. 2022-08-13 23:02:44 | [Mutex] isItemNotified: received:node:90277483-b14d-47df-a6f5-9b7473c851ed:localhost:node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e:Node bb82be1e-35e9-4bb9-891b-fa02a0fa235e :: false |
publishItemsToNodes | 0.220s |
2022-08-13 23:02:41 |
2022-08-13 23:02:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:41 | ------------------------------------ 2022-08-13 23:02:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</node><item-id>item-be8749b7-ee37-4c04-9973-8f32254141d9</item-id><entry><test>item-be8749b7-ee37-4c04-9973-8f32254141d9</test></entry></data> 2022-08-13 23:02:41 | 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-be8749b7-ee37-4c04-9973-8f32254141d9</value></item-id></result> 2022-08-13 23:02:41 | [Mutex] waiting for: [published:item:notifieditem-be8749b7-ee37-4c04-9973-8f32254141d9:admin@test-domain.com] 2022-08-13 23:02:41 | [Mutex] received everything. 2022-08-13 23:02:41 | [Mutex] isItemNotified: published:item:notifieditem-be8749b7-ee37-4c04-9973-8f32254141d9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.204s |
2022-08-13 23:02:42 |
2022-08-13 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:42 | ------------------------------------ 2022-08-13 23:02:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</node><item-id>item-be8749b7-ee37-4c04-9973-8f32254141d9</item-id></data> 2022-08-13 23:02:42 | 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-be8749b7-ee37-4c04-9973-8f32254141d9</value></item-id></result> 2022-08-13 23:02:42 | [Mutex] received everything. 2022-08-13 23:02:42 | [Mutex] isItemNotified: retracted:item:notifieditem-be8749b7-ee37-4c04-9973-8f32254141d9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.210s |
2022-08-13 23:02:41 |
2022-08-13 23:02:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:41 | ------------------------------------ 2022-08-13 23:02:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</node><item-id>item-be8749b7-ee37-4c04-9973-8f32254141d9</item-id></data> 2022-08-13 23:02:41 | 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-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</value></node><item-id type="text-single" label="Item ID"><value>item-be8749b7-ee37-4c04-9973-8f32254141d9</value></item-id><item type="text-multi" label="Item"><value><item id="item-be8749b7-ee37-4c04-9973-8f32254141d9"><test>item-be8749b7-ee37-4c04-9973-8f32254141d9</test></item></value></item></result> 2022-08-13 23:02:41 | [Mutex] notify: [retrieved:item:item-be8749b7-ee37-4c04-9973-8f32254141d9:payload-matches:true:localhost] 2022-08-13 23:02:41 | [Mutex] received everything. 2022-08-13 23:02:41 | [Mutex] isItemNotified: retrieved:item:item-be8749b7-ee37-4c04-9973-8f32254141d9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-08-13 23:02:41 |
2022-08-13 23:02:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:41 | ------------------------------------ 2022-08-13 23:02:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-13 23:02:42 | 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-2f69b971-2d67-45c8-8b6a-2f60eb8e70d6</value><value>node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-13 23:02:42 |
2022-08-13 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:42 | ------------------------------------ 2022-08-13 23:02:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e)</node-pattern></data> 2022-08-13 23:02:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.122s |
2022-08-13 23:02:40 |
2022-08-13 23:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:40 | ------------------------------------ 2022-08-13 23:02:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-13 23:02:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.156s |
2022-08-13 23:02:42 |
2022-08-13 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 23:02:42 | ------------------------------------ 2022-08-13 23:02:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bb82be1e-35e9-4bb9-891b-fa02a0fa235e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-13 23:02:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |