Test duration : 9.438s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-12-30 10:12:00 |
2022-12-30 10:12:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:00 | ------------------------------------ 2022-12-30 10:12:00 | [Mutex] waiting for: [configured:node:node-385c1f5b-e454-4999-be49-329a5f743074:node-813bb887-f750-4c9f-9dff-14aeb76b2679] 2022-12-30 10:12:00 | [Mutex] received everything. 2022-12-30 10:12:00 | [Mutex] isItemNotified: configured:node:node-385c1f5b-e454-4999-be49-329a5f743074:node-813bb887-f750-4c9f-9dff-14aeb76b2679 :: true 2022-12-30 10:12:01 | [Mutex] waiting for: [received:nodes:fc545880-9b4b-4b61-a993-b9bc93b36dc6:localhost] 2022-12-30 10:12:01 | [Mutex] received everything. 2022-12-30 10:12:01 | [Mutex] isItemNotified: received:node:fc545880-9b4b-4b61-a993-b9bc93b36dc6:localhost:node-385c1f5b-e454-4999-be49-329a5f743074:Node 385c1f5b-e454-4999-be49-329a5f743074 :: true 2022-12-30 10:12:01 | [Mutex] waiting for: [received:nodes:d797c899-a291-4fc9-a546-422098349f30:localhost] 2022-12-30 10:12:01 | [Mutex] waiting for: [received:nodes:d797c899-a291-4fc9-a546-422098349f30:localhost] 2022-12-30 10:12:01 | [Mutex] waiting for: [received:nodes:d797c899-a291-4fc9-a546-422098349f30:localhost] 2022-12-30 10:12:01 | [Mutex] waiting for: [received:nodes:d797c899-a291-4fc9-a546-422098349f30:localhost] 2022-12-30 10:12:01 | [Mutex] received everything. 2022-12-30 10:12:01 | [Mutex] isItemNotified: received:node:d797c899-a291-4fc9-a546-422098349f30:localhost:node-385c1f5b-e454-4999-be49-329a5f743074:Node 385c1f5b-e454-4999-be49-329a5f743074 :: false |
createNodes | 1.470s |
2022-12-30 10:11:57 |
2022-12-30 10:11:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:11:57 | ------------------------------------ 2022-12-30 10:11:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-385c1f5b-e454-4999-be49-329a5f743074</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 385c1f5b-e454-4999-be49-329a5f743074</title></pubsub></data> 2022-12-30 10:11:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 10:11:58 | [Mutex] waiting for: [received:nodes:0cea2699-0ca2-44d7-93cf-c10a5886e4b7:localhost] 2022-12-30 10:11:58 | [Mutex] waiting for: [received:nodes:0cea2699-0ca2-44d7-93cf-c10a5886e4b7:localhost] 2022-12-30 10:11:58 | [Mutex] waiting for: [received:nodes:0cea2699-0ca2-44d7-93cf-c10a5886e4b7:localhost] 2022-12-30 10:11:58 | [Mutex] received everything. 2022-12-30 10:11:58 | [Mutex] isItemNotified: received:node:0cea2699-0ca2-44d7-93cf-c10a5886e4b7:localhost:node-385c1f5b-e454-4999-be49-329a5f743074:Node 385c1f5b-e454-4999-be49-329a5f743074 :: true |
createSubnodes | 1.020s |
2022-12-30 10:11:58 |
2022-12-30 10:11:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:11:58 | ------------------------------------ 2022-12-30 10:11:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-813bb887-f750-4c9f-9dff-14aeb76b2679</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 813bb887-f750-4c9f-9dff-14aeb76b2679</title></pubsub></data> 2022-12-30 10:11:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 10:11:59 | [Mutex] waiting for: [received:nodes:242dcad5-e997-402b-8123-5a58c865ffbc:localhost] 2022-12-30 10:12:00 | [Mutex] waiting for: [received:nodes:242dcad5-e997-402b-8123-5a58c865ffbc:localhost] 2022-12-30 10:12:00 | [Mutex] waiting for: [received:nodes:242dcad5-e997-402b-8123-5a58c865ffbc:localhost] 2022-12-30 10:12:00 | [Mutex] waiting for: [received:nodes:242dcad5-e997-402b-8123-5a58c865ffbc:localhost] 2022-12-30 10:12:00 | [Mutex] received everything. 2022-12-30 10:12:00 | [Mutex] isItemNotified: received:node:242dcad5-e997-402b-8123-5a58c865ffbc:localhost:node-813bb887-f750-4c9f-9dff-14aeb76b2679:Node 813bb887-f750-4c9f-9dff-14aeb76b2679 :: true |
deleteNodes | 1.025s |
2022-12-30 10:12:05 |
2022-12-30 10:12:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:05 | ------------------------------------ 2022-12-30 10:12:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-813bb887-f750-4c9f-9dff-14aeb76b2679</node></data> 2022-12-30 10:12:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 10:12:06 | [Mutex] waiting for: [received:nodes:9a8e777c-badb-4bfa-9378-ce41755d77e4:localhost] 2022-12-30 10:12:06 | [Mutex] waiting for: [received:nodes:9a8e777c-badb-4bfa-9378-ce41755d77e4:localhost] 2022-12-30 10:12:06 | [Mutex] waiting for: [received:nodes:9a8e777c-badb-4bfa-9378-ce41755d77e4:localhost] 2022-12-30 10:12:06 | [Mutex] received everything. 2022-12-30 10:12:06 | [Mutex] isItemNotified: received:node:9a8e777c-badb-4bfa-9378-ce41755d77e4:localhost:node-813bb887-f750-4c9f-9dff-14aeb76b2679:Node 813bb887-f750-4c9f-9dff-14aeb76b2679 :: false |
deleteSubnodes | 1.133s |
2022-12-30 10:12:04 |
2022-12-30 10:12:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:04 | ------------------------------------ 2022-12-30 10:12:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-385c1f5b-e454-4999-be49-329a5f743074</node></data> 2022-12-30 10:12:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 10:12:05 | [Mutex] waiting for: [received:nodes:3989e3ee-54d8-4caf-9a6e-4d3f03f3a405:localhost] 2022-12-30 10:12:05 | [Mutex] waiting for: [received:nodes:3989e3ee-54d8-4caf-9a6e-4d3f03f3a405:localhost] 2022-12-30 10:12:05 | [Mutex] waiting for: [received:nodes:3989e3ee-54d8-4caf-9a6e-4d3f03f3a405:localhost] 2022-12-30 10:12:05 | [Mutex] waiting for: [received:nodes:3989e3ee-54d8-4caf-9a6e-4d3f03f3a405:localhost] 2022-12-30 10:12:05 | [Mutex] received everything. 2022-12-30 10:12:05 | [Mutex] isItemNotified: received:node:3989e3ee-54d8-4caf-9a6e-4d3f03f3a405:localhost:node-385c1f5b-e454-4999-be49-329a5f743074:Node 385c1f5b-e454-4999-be49-329a5f743074 :: false 2022-12-30 10:12:05 | [Mutex] waiting for: [received:nodes:644ca883-3f98-465d-a293-165fb3f42cbf:localhost] 2022-12-30 10:12:05 | [Mutex] received everything. 2022-12-30 10:12:05 | [Mutex] isItemNotified: received:node:644ca883-3f98-465d-a293-165fb3f42cbf:localhost:node-385c1f5b-e454-4999-be49-329a5f743074:Node 385c1f5b-e454-4999-be49-329a5f743074 :: false |
publishItemsToNodes | 0.232s |
2022-12-30 10:12:02 |
2022-12-30 10:12:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:02 | ------------------------------------ 2022-12-30 10:12:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-385c1f5b-e454-4999-be49-329a5f743074</node><item-id>item-47719e0e-55ac-4966-a70d-08ed0ccdad68</item-id><entry><test>item-47719e0e-55ac-4966-a70d-08ed0ccdad68</test></entry></data> 2022-12-30 10:12:02 | 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-47719e0e-55ac-4966-a70d-08ed0ccdad68</value></item-id></result> 2022-12-30 10:12:02 | [Mutex] waiting for: [published:item:notifieditem-47719e0e-55ac-4966-a70d-08ed0ccdad68:admin@test-domain.com] 2022-12-30 10:12:02 | [Mutex] received everything. 2022-12-30 10:12:02 | [Mutex] isItemNotified: published:item:notifieditem-47719e0e-55ac-4966-a70d-08ed0ccdad68:admin@test-domain.com :: true |
retractItemsFromNodes | 0.303s |
2022-12-30 10:12:02 |
2022-12-30 10:12:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:02 | ------------------------------------ 2022-12-30 10:12:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-385c1f5b-e454-4999-be49-329a5f743074</node><item-id>item-47719e0e-55ac-4966-a70d-08ed0ccdad68</item-id></data> 2022-12-30 10:12:03 | 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-47719e0e-55ac-4966-a70d-08ed0ccdad68</value></item-id></result> 2022-12-30 10:12:03 | [Mutex] received everything. 2022-12-30 10:12:03 | [Mutex] isItemNotified: retracted:item:notifieditem-47719e0e-55ac-4966-a70d-08ed0ccdad68:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.162s |
2022-12-30 10:12:02 |
2022-12-30 10:12:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:02 | ------------------------------------ 2022-12-30 10:12:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-385c1f5b-e454-4999-be49-329a5f743074</node><item-id>item-47719e0e-55ac-4966-a70d-08ed0ccdad68</item-id></data> 2022-12-30 10:12:02 | 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-385c1f5b-e454-4999-be49-329a5f743074</value></node><item-id label="Item ID" type="text-single"><value>item-47719e0e-55ac-4966-a70d-08ed0ccdad68</value></item-id><item label="Item" type="text-multi"><value><item id="item-47719e0e-55ac-4966-a70d-08ed0ccdad68"><test>item-47719e0e-55ac-4966-a70d-08ed0ccdad68</test></item></value></item></result> 2022-12-30 10:12:02 | [Mutex] notify: [retrieved:item:item-47719e0e-55ac-4966-a70d-08ed0ccdad68:payload-matches:true:localhost] 2022-12-30 10:12:02 | [Mutex] received everything. 2022-12-30 10:12:02 | [Mutex] isItemNotified: retrieved:item:item-47719e0e-55ac-4966-a70d-08ed0ccdad68:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-30 10:12:02 |
2022-12-30 10:12:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:02 | ------------------------------------ 2022-12-30 10:12:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-30 10:12:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-813bb887-f750-4c9f-9dff-14aeb76b2679</value><value>test</value><value>node-385c1f5b-e454-4999-be49-329a5f743074</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-30 10:12:02 |
2022-12-30 10:12:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:02 | ------------------------------------ 2022-12-30 10:12:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-385c1f5b-e454-4999-be49-329a5f743074)</node-pattern></data> 2022-12-30 10:12:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.123s |
2022-12-30 10:12:01 |
2022-12-30 10:12:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:01 | ------------------------------------ 2022-12-30 10:12:01 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-385c1f5b-e454-4999-be49-329a5f743074</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 10:12:01 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.200s |
2022-12-30 10:12:03 |
2022-12-30 10:12:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 10:12:03 | ------------------------------------ 2022-12-30 10:12:03 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-385c1f5b-e454-4999-be49-329a5f743074</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 10:12:03 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |