Test duration : 9.547s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.085s |
2022-07-06 22:46:02 |
2022-07-06 22:46:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:02 | ------------------------------------ 2022-07-06 22:46:02 | [Mutex] waiting for: [configured:node:node-0c51dff7-7984-42d4-b04b-9607f4b483df:node-f50cf52d-5e61-4487-8fdc-c909c223935f] 2022-07-06 22:46:02 | [Mutex] received everything. 2022-07-06 22:46:02 | [Mutex] isItemNotified: configured:node:node-0c51dff7-7984-42d4-b04b-9607f4b483df:node-f50cf52d-5e61-4487-8fdc-c909c223935f :: true 2022-07-06 22:46:03 | [Mutex] waiting for: [received:nodes:7a21d77f-e8e2-4d66-ab52-b0dbaf7cb86b:localhost] 2022-07-06 22:46:03 | [Mutex] received everything. 2022-07-06 22:46:03 | [Mutex] isItemNotified: received:node:7a21d77f-e8e2-4d66-ab52-b0dbaf7cb86b:localhost:node-0c51dff7-7984-42d4-b04b-9607f4b483df:Node 0c51dff7-7984-42d4-b04b-9607f4b483df :: true 2022-07-06 22:46:03 | [Mutex] waiting for: [received:nodes:7e82f66b-9365-4848-bd52-63d474687efb:localhost] 2022-07-06 22:46:03 | [Mutex] waiting for: [received:nodes:7e82f66b-9365-4848-bd52-63d474687efb:localhost] 2022-07-06 22:46:03 | [Mutex] received everything. 2022-07-06 22:46:03 | [Mutex] isItemNotified: received:node:7e82f66b-9365-4848-bd52-63d474687efb:localhost:node-0c51dff7-7984-42d4-b04b-9607f4b483df:Node 0c51dff7-7984-42d4-b04b-9607f4b483df :: false |
createNodes | 1.470s |
2022-07-06 22:46:00 |
2022-07-06 22:46:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:00 | ------------------------------------ 2022-07-06 22:46:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0c51dff7-7984-42d4-b04b-9607f4b483df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0c51dff7-7984-42d4-b04b-9607f4b483df</title></pubsub></data> 2022-07-06 22:46:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-06 22:46:01 | [Mutex] waiting for: [received:nodes:5de45b28-8691-49f4-9cc4-d9b96ed124b8:localhost] 2022-07-06 22:46:01 | [Mutex] received everything. 2022-07-06 22:46:01 | [Mutex] isItemNotified: received:node:5de45b28-8691-49f4-9cc4-d9b96ed124b8:localhost:node-0c51dff7-7984-42d4-b04b-9607f4b483df:Node 0c51dff7-7984-42d4-b04b-9607f4b483df :: true |
createSubnodes | 1.035s |
2022-07-06 22:46:01 |
2022-07-06 22:46:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:01 | ------------------------------------ 2022-07-06 22:46:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f50cf52d-5e61-4487-8fdc-c909c223935f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f50cf52d-5e61-4487-8fdc-c909c223935f</title></pubsub></data> 2022-07-06 22:46:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-06 22:46:02 | [Mutex] waiting for: [received:nodes:f669273a-57f7-409d-8bb2-745720fc1d8c:localhost] 2022-07-06 22:46:02 | [Mutex] received everything. 2022-07-06 22:46:02 | [Mutex] isItemNotified: received:node:f669273a-57f7-409d-8bb2-745720fc1d8c:localhost:node-f50cf52d-5e61-4487-8fdc-c909c223935f:Node f50cf52d-5e61-4487-8fdc-c909c223935f :: true |
deleteNodes | 1.022s |
2022-07-06 22:46:08 |
2022-07-06 22:46:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:08 | ------------------------------------ 2022-07-06 22:46:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f50cf52d-5e61-4487-8fdc-c909c223935f</node></data> 2022-07-06 22:46:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-06 22:46:09 | [Mutex] waiting for: [received:nodes:e2fa6050-3e67-4039-a9a3-ea96bfc2abe0:localhost] 2022-07-06 22:46:09 | [Mutex] received everything. 2022-07-06 22:46:09 | [Mutex] isItemNotified: received:node:e2fa6050-3e67-4039-a9a3-ea96bfc2abe0:localhost:node-f50cf52d-5e61-4487-8fdc-c909c223935f:Node f50cf52d-5e61-4487-8fdc-c909c223935f :: false |
deleteSubnodes | 1.121s |
2022-07-06 22:46:07 |
2022-07-06 22:46:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:07 | ------------------------------------ 2022-07-06 22:46:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0c51dff7-7984-42d4-b04b-9607f4b483df</node></data> 2022-07-06 22:46:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-06 22:46:08 | [Mutex] waiting for: [received:nodes:d16714b4-d717-48b4-9997-d80078137f39:localhost] 2022-07-06 22:46:08 | [Mutex] waiting for: [received:nodes:d16714b4-d717-48b4-9997-d80078137f39:localhost] 2022-07-06 22:46:08 | [Mutex] received everything. 2022-07-06 22:46:08 | [Mutex] isItemNotified: received:node:d16714b4-d717-48b4-9997-d80078137f39:localhost:node-0c51dff7-7984-42d4-b04b-9607f4b483df:Node 0c51dff7-7984-42d4-b04b-9607f4b483df :: false 2022-07-06 22:46:08 | [Mutex] waiting for: [received:nodes:8aa77248-8df7-486e-bdb5-bccca5505706:localhost] 2022-07-06 22:46:08 | [Mutex] received everything. 2022-07-06 22:46:08 | [Mutex] isItemNotified: received:node:8aa77248-8df7-486e-bdb5-bccca5505706:localhost:node-0c51dff7-7984-42d4-b04b-9607f4b483df:Node 0c51dff7-7984-42d4-b04b-9607f4b483df :: false |
publishItemsToNodes | 0.201s |
2022-07-06 22:46:04 |
2022-07-06 22:46:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:04 | ------------------------------------ 2022-07-06 22:46:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0c51dff7-7984-42d4-b04b-9607f4b483df</node><item-id>item-445a6877-264a-4cca-a0f3-a5ce565e4fcd</item-id><entry><test>item-445a6877-264a-4cca-a0f3-a5ce565e4fcd</test></entry></data> 2022-07-06 22:46:05 | 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-445a6877-264a-4cca-a0f3-a5ce565e4fcd</value></item-id></result> 2022-07-06 22:46:05 | [Mutex] received everything. 2022-07-06 22:46:05 | [Mutex] isItemNotified: published:item:notifieditem-445a6877-264a-4cca-a0f3-a5ce565e4fcd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.239s |
2022-07-06 22:46:05 |
2022-07-06 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:05 | ------------------------------------ 2022-07-06 22:46:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0c51dff7-7984-42d4-b04b-9607f4b483df</node><item-id>item-445a6877-264a-4cca-a0f3-a5ce565e4fcd</item-id></data> 2022-07-06 22:46:05 | 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-445a6877-264a-4cca-a0f3-a5ce565e4fcd</value></item-id></result> 2022-07-06 22:46:05 | [Mutex] waiting for: [retracted:item:notifieditem-445a6877-264a-4cca-a0f3-a5ce565e4fcd:admin@test-domain.com] 2022-07-06 22:46:05 | [Mutex] received everything. 2022-07-06 22:46:05 | [Mutex] isItemNotified: retracted:item:notifieditem-445a6877-264a-4cca-a0f3-a5ce565e4fcd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.318s |
2022-07-06 22:46:05 |
2022-07-06 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:05 | ------------------------------------ 2022-07-06 22:46:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0c51dff7-7984-42d4-b04b-9607f4b483df</node><item-id>item-445a6877-264a-4cca-a0f3-a5ce565e4fcd</item-id></data> 2022-07-06 22:46:05 | 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-0c51dff7-7984-42d4-b04b-9607f4b483df</value></node><item-id label="Item ID" type="text-single"><value>item-445a6877-264a-4cca-a0f3-a5ce565e4fcd</value></item-id><item label="Item" type="text-multi"><value><item id="item-445a6877-264a-4cca-a0f3-a5ce565e4fcd"><test>item-445a6877-264a-4cca-a0f3-a5ce565e4fcd</test></item></value></item></result> 2022-07-06 22:46:05 | [Mutex] notify: [retrieved:item:item-445a6877-264a-4cca-a0f3-a5ce565e4fcd:payload-matches:true:localhost] 2022-07-06 22:46:05 | [Mutex] received everything. 2022-07-06 22:46:05 | [Mutex] isItemNotified: retrieved:item:item-445a6877-264a-4cca-a0f3-a5ce565e4fcd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-06 22:46:05 |
2022-07-06 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:05 | ------------------------------------ 2022-07-06 22:46:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-06 22:46:05 | 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-0c51dff7-7984-42d4-b04b-9607f4b483df</value><value>node-f50cf52d-5e61-4487-8fdc-c909c223935f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-06 22:46:05 |
2022-07-06 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:05 | ------------------------------------ 2022-07-06 22:46:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0c51dff7-7984-42d4-b04b-9607f4b483df)</node-pattern></data> 2022-07-06 22:46:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.111s |
2022-07-06 22:46:03 |
2022-07-06 22:46:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:03 | ------------------------------------ 2022-07-06 22:46:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0c51dff7-7984-42d4-b04b-9607f4b483df</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-06 22:46:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.219s |
2022-07-06 22:46:05 |
2022-07-06 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-06 22:46:05 | ------------------------------------ 2022-07-06 22:46:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0c51dff7-7984-42d4-b04b-9607f4b483df</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-06 22:46:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |