Test duration : 9.786s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2022-05-15 22:37:08 |
2022-05-15 22:37:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:08 | ------------------------------------ 2022-05-15 22:37:08 | [Mutex] waiting for: [configured:node:node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa:node-be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c] 2022-05-15 22:37:08 | [Mutex] received everything. 2022-05-15 22:37:08 | [Mutex] isItemNotified: configured:node:node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa:node-be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c :: true 2022-05-15 22:37:09 | [Mutex] waiting for: [received:nodes:63934d2e-ee4c-49c1-bf0d-d18781cb0cb9:localhost] 2022-05-15 22:37:09 | [Mutex] received everything. 2022-05-15 22:37:09 | [Mutex] isItemNotified: received:node:63934d2e-ee4c-49c1-bf0d-d18781cb0cb9:localhost:node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa:Node 81b9835b-1ccf-4a9d-881c-1e57245bf0aa :: true 2022-05-15 22:37:09 | [Mutex] waiting for: [received:nodes:23418380-0dfa-4ac3-9958-3ce8f5287e15:localhost] 2022-05-15 22:37:09 | [Mutex] waiting for: [received:nodes:23418380-0dfa-4ac3-9958-3ce8f5287e15:localhost] 2022-05-15 22:37:09 | [Mutex] received everything. 2022-05-15 22:37:09 | [Mutex] isItemNotified: received:node:23418380-0dfa-4ac3-9958-3ce8f5287e15:localhost:node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa:Node 81b9835b-1ccf-4a9d-881c-1e57245bf0aa :: false |
createNodes | 1.465s |
2022-05-15 22:37:06 |
2022-05-15 22:37:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:06 | ------------------------------------ 2022-05-15 22:37:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 81b9835b-1ccf-4a9d-881c-1e57245bf0aa</title></pubsub></data> 2022-05-15 22:37:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-15 22:37:07 | [Mutex] waiting for: [received:nodes:df50fa6c-e65d-4f6b-a7fd-6b7ec9db27be:localhost] 2022-05-15 22:37:07 | [Mutex] waiting for: [received:nodes:df50fa6c-e65d-4f6b-a7fd-6b7ec9db27be:localhost] 2022-05-15 22:37:07 | [Mutex] received everything. 2022-05-15 22:37:07 | [Mutex] isItemNotified: received:node:df50fa6c-e65d-4f6b-a7fd-6b7ec9db27be:localhost:node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa:Node 81b9835b-1ccf-4a9d-881c-1e57245bf0aa :: true |
createSubnodes | 1.024s |
2022-05-15 22:37:07 |
2022-05-15 22:37:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:07 | ------------------------------------ 2022-05-15 22:37:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c</title></pubsub></data> 2022-05-15 22:37:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-15 22:37:08 | [Mutex] waiting for: [received:nodes:372e743f-220a-4a26-a6c2-c562b92a1f68:localhost] 2022-05-15 22:37:08 | [Mutex] waiting for: [received:nodes:372e743f-220a-4a26-a6c2-c562b92a1f68:localhost] 2022-05-15 22:37:08 | [Mutex] received everything. 2022-05-15 22:37:08 | [Mutex] isItemNotified: received:node:372e743f-220a-4a26-a6c2-c562b92a1f68:localhost:node-be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c:Node be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c :: true |
deleteNodes | 1.021s |
2022-05-15 22:37:14 |
2022-05-15 22:37:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:14 | ------------------------------------ 2022-05-15 22:37:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c</node></data> 2022-05-15 22:37:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-15 22:37:15 | [Mutex] waiting for: [received:nodes:a36edc74-5f27-4798-a394-7372b734a8af:localhost] 2022-05-15 22:37:15 | [Mutex] received everything. 2022-05-15 22:37:15 | [Mutex] isItemNotified: received:node:a36edc74-5f27-4798-a394-7372b734a8af:localhost:node-be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c:Node be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c :: false |
deleteSubnodes | 1.146s |
2022-05-15 22:37:12 |
2022-05-15 22:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:12 | ------------------------------------ 2022-05-15 22:37:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</node></data> 2022-05-15 22:37:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-15 22:37:14 | [Mutex] waiting for: [received:nodes:ec9e3645-3312-4709-b813-887451a18034:localhost] 2022-05-15 22:37:14 | [Mutex] waiting for: [received:nodes:ec9e3645-3312-4709-b813-887451a18034:localhost] 2022-05-15 22:37:14 | [Mutex] waiting for: [received:nodes:ec9e3645-3312-4709-b813-887451a18034:localhost] 2022-05-15 22:37:14 | [Mutex] received everything. 2022-05-15 22:37:14 | [Mutex] isItemNotified: received:node:ec9e3645-3312-4709-b813-887451a18034:localhost:node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa:Node 81b9835b-1ccf-4a9d-881c-1e57245bf0aa :: false 2022-05-15 22:37:14 | [Mutex] waiting for: [received:nodes:31ea5a8e-1fe9-421f-9ae2-d3573f2e5154:localhost] 2022-05-15 22:37:14 | [Mutex] received everything. 2022-05-15 22:37:14 | [Mutex] isItemNotified: received:node:31ea5a8e-1fe9-421f-9ae2-d3573f2e5154:localhost:node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa:Node 81b9835b-1ccf-4a9d-881c-1e57245bf0aa :: false |
publishItemsToNodes | 0.178s |
2022-05-15 22:37:10 |
2022-05-15 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:10 | ------------------------------------ 2022-05-15 22:37:10 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</node><item-id>item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc</item-id><entry><test>item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc</test></entry></data> 2022-05-15 22:37:10 | 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-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc</value></item-id></result> 2022-05-15 22:37:10 | [Mutex] waiting for: [published:item:notifieditem-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc:admin@test-domain.com] 2022-05-15 22:37:11 | [Mutex] received everything. 2022-05-15 22:37:11 | [Mutex] isItemNotified: published:item:notifieditem-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.344s |
2022-05-15 22:37:11 |
2022-05-15 22:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:11 | ------------------------------------ 2022-05-15 22:37:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</node><item-id>item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc</item-id></data> 2022-05-15 22:37:11 | 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-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc</value></item-id></result> 2022-05-15 22:37:11 | [Mutex] waiting for: [retracted:item:notifieditem-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc:admin@test-domain.com] 2022-05-15 22:37:11 | [Mutex] received everything. 2022-05-15 22:37:11 | [Mutex] isItemNotified: retracted:item:notifieditem-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.288s |
2022-05-15 22:37:11 |
2022-05-15 22:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:11 | ------------------------------------ 2022-05-15 22:37:11 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</node><item-id>item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc</item-id></data> 2022-05-15 22:37:11 | 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-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</value></node><item-id type="text-single" label="Item ID"><value>item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc</value></item-id><item type="text-multi" label="Item"><value><item id="item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc"><test>item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc</test></item></value></item></result> 2022-05-15 22:37:11 | [Mutex] notify: [retrieved:item:item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc:payload-matches:true:localhost] 2022-05-15 22:37:11 | [Mutex] received everything. 2022-05-15 22:37:11 | [Mutex] isItemNotified: retrieved:item:item-a9bb415b-cd06-48f4-9f33-fe85b2d21ebc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-15 22:37:11 |
2022-05-15 22:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:11 | ------------------------------------ 2022-05-15 22:37:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-15 22:37:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-be2d1b8b-4c67-4eda-83d1-d02f2cbd4e0c</value><value>test</value><value>node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2022-05-15 22:37:11 |
2022-05-15 22:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:11 | ------------------------------------ 2022-05-15 22:37:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa)</node-pattern></data> 2022-05-15 22:37:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.120s |
2022-05-15 22:37:09 |
2022-05-15 22:37:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:09 | ------------------------------------ 2022-05-15 22:37:09 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-15 22:37:09 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.214s |
2022-05-15 22:37:11 |
2022-05-15 22:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:37:11 | ------------------------------------ 2022-05-15 22:37:11 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-81b9835b-1ccf-4a9d-881c-1e57245bf0aa</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-15 22:37:11 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |