Test duration : 9.567s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.087s |
2022-09-22 22:35:33 |
2022-09-22 22:35:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:33 | ------------------------------------ 2022-09-22 22:35:33 | [Mutex] waiting for: [configured:node:node-865a8c72-fbb2-4032-bee8-9d067e084f13:node-0f5a9e7d-d5fe-4680-a283-c127ccf0ed82] 2022-09-22 22:35:33 | [Mutex] received everything. 2022-09-22 22:35:33 | [Mutex] isItemNotified: configured:node:node-865a8c72-fbb2-4032-bee8-9d067e084f13:node-0f5a9e7d-d5fe-4680-a283-c127ccf0ed82 :: true 2022-09-22 22:35:34 | [Mutex] waiting for: [received:nodes:e6ade24d-18c3-457b-bef5-c0b9f3bf2e48:localhost] 2022-09-22 22:35:34 | [Mutex] received everything. 2022-09-22 22:35:34 | [Mutex] isItemNotified: received:node:e6ade24d-18c3-457b-bef5-c0b9f3bf2e48:localhost:node-865a8c72-fbb2-4032-bee8-9d067e084f13:Node 865a8c72-fbb2-4032-bee8-9d067e084f13 :: true 2022-09-22 22:35:34 | [Mutex] waiting for: [received:nodes:4161655a-f06f-4d65-8980-53878c633989:localhost] 2022-09-22 22:35:34 | [Mutex] received everything. 2022-09-22 22:35:34 | [Mutex] isItemNotified: received:node:4161655a-f06f-4d65-8980-53878c633989:localhost:node-865a8c72-fbb2-4032-bee8-9d067e084f13:Node 865a8c72-fbb2-4032-bee8-9d067e084f13 :: false |
createNodes | 1.507s |
2022-09-22 22:35:31 |
2022-09-22 22:35:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:31 | ------------------------------------ 2022-09-22 22:35:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-865a8c72-fbb2-4032-bee8-9d067e084f13</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 865a8c72-fbb2-4032-bee8-9d067e084f13</title></pubsub></data> 2022-09-22 22:35:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 22:35:32 | [Mutex] waiting for: [received:nodes:4ca57095-d816-4d9a-8ff1-3123c5186497:localhost] 2022-09-22 22:35:32 | [Mutex] waiting for: [received:nodes:4ca57095-d816-4d9a-8ff1-3123c5186497:localhost] 2022-09-22 22:35:32 | [Mutex] received everything. 2022-09-22 22:35:32 | [Mutex] isItemNotified: received:node:4ca57095-d816-4d9a-8ff1-3123c5186497:localhost:node-865a8c72-fbb2-4032-bee8-9d067e084f13:Node 865a8c72-fbb2-4032-bee8-9d067e084f13 :: true |
createSubnodes | 1.021s |
2022-09-22 22:35:32 |
2022-09-22 22:35:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:32 | ------------------------------------ 2022-09-22 22:35:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0f5a9e7d-d5fe-4680-a283-c127ccf0ed82</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0f5a9e7d-d5fe-4680-a283-c127ccf0ed82</title></pubsub></data> 2022-09-22 22:35:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 22:35:33 | [Mutex] waiting for: [received:nodes:d19e452d-c728-4932-9bd9-96b309fde09c:localhost] 2022-09-22 22:35:33 | [Mutex] waiting for: [received:nodes:d19e452d-c728-4932-9bd9-96b309fde09c:localhost] 2022-09-22 22:35:33 | [Mutex] received everything. 2022-09-22 22:35:33 | [Mutex] isItemNotified: received:node:d19e452d-c728-4932-9bd9-96b309fde09c:localhost:node-0f5a9e7d-d5fe-4680-a283-c127ccf0ed82:Node 0f5a9e7d-d5fe-4680-a283-c127ccf0ed82 :: true |
deleteNodes | 1.017s |
2022-09-22 22:35:39 |
2022-09-22 22:35:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:39 | ------------------------------------ 2022-09-22 22:35:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0f5a9e7d-d5fe-4680-a283-c127ccf0ed82</node></data> 2022-09-22 22:35:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 22:35:40 | [Mutex] waiting for: [received:nodes:d4330e9f-5091-4139-bd39-24a420746503:localhost] 2022-09-22 22:35:40 | [Mutex] waiting for: [received:nodes:d4330e9f-5091-4139-bd39-24a420746503:localhost] 2022-09-22 22:35:40 | [Mutex] received everything. 2022-09-22 22:35:40 | [Mutex] isItemNotified: received:node:d4330e9f-5091-4139-bd39-24a420746503:localhost:node-0f5a9e7d-d5fe-4680-a283-c127ccf0ed82:Node 0f5a9e7d-d5fe-4680-a283-c127ccf0ed82 :: false |
deleteSubnodes | 1.116s |
2022-09-22 22:35:37 |
2022-09-22 22:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:37 | ------------------------------------ 2022-09-22 22:35:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-865a8c72-fbb2-4032-bee8-9d067e084f13</node></data> 2022-09-22 22:35:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 22:35:38 | [Mutex] waiting for: [received:nodes:d9445b0c-b3a1-44bc-9b2f-58297978cc73:localhost] 2022-09-22 22:35:38 | [Mutex] received everything. 2022-09-22 22:35:38 | [Mutex] isItemNotified: received:node:d9445b0c-b3a1-44bc-9b2f-58297978cc73:localhost:node-865a8c72-fbb2-4032-bee8-9d067e084f13:Node 865a8c72-fbb2-4032-bee8-9d067e084f13 :: false 2022-09-22 22:35:38 | [Mutex] waiting for: [received:nodes:7965368d-8c24-4fc2-b56c-e28eed616db7:localhost] 2022-09-22 22:35:39 | [Mutex] received everything. 2022-09-22 22:35:39 | [Mutex] isItemNotified: received:node:7965368d-8c24-4fc2-b56c-e28eed616db7:localhost:node-865a8c72-fbb2-4032-bee8-9d067e084f13:Node 865a8c72-fbb2-4032-bee8-9d067e084f13 :: false |
publishItemsToNodes | 0.307s |
2022-09-22 22:35:35 |
2022-09-22 22:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:35 | ------------------------------------ 2022-09-22 22:35:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-865a8c72-fbb2-4032-bee8-9d067e084f13</node><item-id>item-ef814f29-2678-410c-b1f5-e326e9798384</item-id><entry><test>item-ef814f29-2678-410c-b1f5-e326e9798384</test></entry></data> 2022-09-22 22:35:36 | 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-ef814f29-2678-410c-b1f5-e326e9798384</value></item-id></result> 2022-09-22 22:35:36 | [Mutex] waiting for: [published:item:notifieditem-ef814f29-2678-410c-b1f5-e326e9798384:admin@test-domain.com] 2022-09-22 22:35:36 | [Mutex] received everything. 2022-09-22 22:35:36 | [Mutex] isItemNotified: published:item:notifieditem-ef814f29-2678-410c-b1f5-e326e9798384:admin@test-domain.com :: true |
retractItemsFromNodes | 0.272s |
2022-09-22 22:35:36 |
2022-09-22 22:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:36 | ------------------------------------ 2022-09-22 22:35:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-865a8c72-fbb2-4032-bee8-9d067e084f13</node><item-id>item-ef814f29-2678-410c-b1f5-e326e9798384</item-id></data> 2022-09-22 22:35:36 | 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-ef814f29-2678-410c-b1f5-e326e9798384</value></item-id></result> 2022-09-22 22:35:36 | [Mutex] received everything. 2022-09-22 22:35:36 | [Mutex] isItemNotified: retracted:item:notifieditem-ef814f29-2678-410c-b1f5-e326e9798384:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.211s |
2022-09-22 22:35:36 |
2022-09-22 22:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:36 | ------------------------------------ 2022-09-22 22:35:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-865a8c72-fbb2-4032-bee8-9d067e084f13</node><item-id>item-ef814f29-2678-410c-b1f5-e326e9798384</item-id></data> 2022-09-22 22:35:36 | 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-865a8c72-fbb2-4032-bee8-9d067e084f13</value></node><item-id label="Item ID" type="text-single"><value>item-ef814f29-2678-410c-b1f5-e326e9798384</value></item-id><item label="Item" type="text-multi"><value><item id="item-ef814f29-2678-410c-b1f5-e326e9798384"><test>item-ef814f29-2678-410c-b1f5-e326e9798384</test></item></value></item></result> 2022-09-22 22:35:36 | [Mutex] notify: [retrieved:item:item-ef814f29-2678-410c-b1f5-e326e9798384:payload-matches:true:localhost] 2022-09-22 22:35:36 | [Mutex] received everything. 2022-09-22 22:35:36 | [Mutex] isItemNotified: retrieved:item:item-ef814f29-2678-410c-b1f5-e326e9798384:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-22 22:35:36 |
2022-09-22 22:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:36 | ------------------------------------ 2022-09-22 22:35:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-22 22:35:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-0f5a9e7d-d5fe-4680-a283-c127ccf0ed82</value><value>test</value><value>node-865a8c72-fbb2-4032-bee8-9d067e084f13</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.052s |
2022-09-22 22:35:36 |
2022-09-22 22:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:36 | ------------------------------------ 2022-09-22 22:35:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-865a8c72-fbb2-4032-bee8-9d067e084f13)</node-pattern></data> 2022-09-22 22:35:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.153s |
2022-09-22 22:35:34 |
2022-09-22 22:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:34 | ------------------------------------ 2022-09-22 22:35:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-865a8c72-fbb2-4032-bee8-9d067e084f13</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-22 22:35:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.167s |
2022-09-22 22:35:36 |
2022-09-22 22:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:35:36 | ------------------------------------ 2022-09-22 22:35:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-865a8c72-fbb2-4032-bee8-9d067e084f13</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-22 22:35:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |