Test duration : 9.805s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.128s |
2022-05-15 22:53:58 |
2022-05-15 22:53:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:53:58 | ------------------------------------ 2022-05-15 22:53:58 | [Mutex] waiting for: [configured:node:node-de967849-9dba-490d-8a36-37e1ddb78721:node-e0a9fd45-39a2-4fa2-98bc-1055d47514d8] 2022-05-15 22:53:59 | [Mutex] received everything. 2022-05-15 22:53:59 | [Mutex] isItemNotified: configured:node:node-de967849-9dba-490d-8a36-37e1ddb78721:node-e0a9fd45-39a2-4fa2-98bc-1055d47514d8 :: true 2022-05-15 22:54:00 | [Mutex] waiting for: [received:nodes:63ec729f-cc92-41ba-b11a-a9b46ff726b9:localhost] 2022-05-15 22:54:00 | [Mutex] received everything. 2022-05-15 22:54:00 | [Mutex] isItemNotified: received:node:63ec729f-cc92-41ba-b11a-a9b46ff726b9:localhost:node-de967849-9dba-490d-8a36-37e1ddb78721:Node de967849-9dba-490d-8a36-37e1ddb78721 :: true 2022-05-15 22:54:00 | [Mutex] waiting for: [received:nodes:8dd431b2-e73a-4d83-95ba-709a28a0f332:localhost] 2022-05-15 22:54:00 | [Mutex] received everything. 2022-05-15 22:54:00 | [Mutex] isItemNotified: received:node:8dd431b2-e73a-4d83-95ba-709a28a0f332:localhost:node-de967849-9dba-490d-8a36-37e1ddb78721:Node de967849-9dba-490d-8a36-37e1ddb78721 :: false |
createNodes | 1.484s |
2022-05-15 22:53:56 |
2022-05-15 22:53:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:53:56 | ------------------------------------ 2022-05-15 22:53:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-de967849-9dba-490d-8a36-37e1ddb78721</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node de967849-9dba-490d-8a36-37e1ddb78721</title></pubsub></data> 2022-05-15 22:53:56 | 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:53:57 | [Mutex] waiting for: [received:nodes:55044295-07c2-4586-9493-bf77a1c90df7:localhost] 2022-05-15 22:53:57 | [Mutex] received everything. 2022-05-15 22:53:57 | [Mutex] isItemNotified: received:node:55044295-07c2-4586-9493-bf77a1c90df7:localhost:node-de967849-9dba-490d-8a36-37e1ddb78721:Node de967849-9dba-490d-8a36-37e1ddb78721 :: true |
createSubnodes | 1.022s |
2022-05-15 22:53:57 |
2022-05-15 22:53:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:53:57 | ------------------------------------ 2022-05-15 22:53:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e0a9fd45-39a2-4fa2-98bc-1055d47514d8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e0a9fd45-39a2-4fa2-98bc-1055d47514d8</title></pubsub></data> 2022-05-15 22:53:57 | 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:53:58 | [Mutex] waiting for: [received:nodes:d4ad87ac-facd-464c-9d8e-3c5a5c571936:localhost] 2022-05-15 22:53:58 | [Mutex] received everything. 2022-05-15 22:53:58 | [Mutex] isItemNotified: received:node:d4ad87ac-facd-464c-9d8e-3c5a5c571936:localhost:node-e0a9fd45-39a2-4fa2-98bc-1055d47514d8:Node e0a9fd45-39a2-4fa2-98bc-1055d47514d8 :: true |
deleteNodes | 1.017s |
2022-05-15 22:54:04 |
2022-05-15 22:54:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:04 | ------------------------------------ 2022-05-15 22:54:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e0a9fd45-39a2-4fa2-98bc-1055d47514d8</node></data> 2022-05-15 22:54:04 | 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:54:05 | [Mutex] waiting for: [received:nodes:1b6a2188-7c5c-4f8e-bd8e-72110105ec85:localhost] 2022-05-15 22:54:05 | [Mutex] waiting for: [received:nodes:1b6a2188-7c5c-4f8e-bd8e-72110105ec85:localhost] 2022-05-15 22:54:05 | [Mutex] received everything. 2022-05-15 22:54:05 | [Mutex] isItemNotified: received:node:1b6a2188-7c5c-4f8e-bd8e-72110105ec85:localhost:node-e0a9fd45-39a2-4fa2-98bc-1055d47514d8:Node e0a9fd45-39a2-4fa2-98bc-1055d47514d8 :: false |
deleteSubnodes | 1.124s |
2022-05-15 22:54:03 |
2022-05-15 22:54:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:03 | ------------------------------------ 2022-05-15 22:54:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-de967849-9dba-490d-8a36-37e1ddb78721</node></data> 2022-05-15 22:54:03 | 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:54:04 | [Mutex] waiting for: [received:nodes:f8b25c15-d45a-4aba-a3ad-7057c9e0533f:localhost] 2022-05-15 22:54:04 | [Mutex] received everything. 2022-05-15 22:54:04 | [Mutex] isItemNotified: received:node:f8b25c15-d45a-4aba-a3ad-7057c9e0533f:localhost:node-de967849-9dba-490d-8a36-37e1ddb78721:Node de967849-9dba-490d-8a36-37e1ddb78721 :: false 2022-05-15 22:54:04 | [Mutex] waiting for: [received:nodes:3d663ba0-548e-4945-b81d-797ed5073ed3:localhost] 2022-05-15 22:54:04 | [Mutex] received everything. 2022-05-15 22:54:04 | [Mutex] isItemNotified: received:node:3d663ba0-548e-4945-b81d-797ed5073ed3:localhost:node-de967849-9dba-490d-8a36-37e1ddb78721:Node de967849-9dba-490d-8a36-37e1ddb78721 :: false |
publishItemsToNodes | 0.226s |
2022-05-15 22:54:01 |
2022-05-15 22:54:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:01 | ------------------------------------ 2022-05-15 22:54:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-de967849-9dba-490d-8a36-37e1ddb78721</node><item-id>item-90ad4152-59e7-4ffb-9c6e-f96615d34656</item-id><entry><test>item-90ad4152-59e7-4ffb-9c6e-f96615d34656</test></entry></data> 2022-05-15 22:54:01 | 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-90ad4152-59e7-4ffb-9c6e-f96615d34656</value></item-id></result> 2022-05-15 22:54:01 | [Mutex] received everything. 2022-05-15 22:54:01 | [Mutex] isItemNotified: published:item:notifieditem-90ad4152-59e7-4ffb-9c6e-f96615d34656:admin@test-domain.com :: true |
retractItemsFromNodes | 0.306s |
2022-05-15 22:54:01 |
2022-05-15 22:54:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:01 | ------------------------------------ 2022-05-15 22:54:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-de967849-9dba-490d-8a36-37e1ddb78721</node><item-id>item-90ad4152-59e7-4ffb-9c6e-f96615d34656</item-id></data> 2022-05-15 22:54:02 | 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-90ad4152-59e7-4ffb-9c6e-f96615d34656</value></item-id></result> 2022-05-15 22:54:02 | [Mutex] waiting for: [retracted:item:notifieditem-90ad4152-59e7-4ffb-9c6e-f96615d34656:admin@test-domain.com] 2022-05-15 22:54:02 | [Mutex] received everything. 2022-05-15 22:54:02 | [Mutex] isItemNotified: retracted:item:notifieditem-90ad4152-59e7-4ffb-9c6e-f96615d34656:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.252s |
2022-05-15 22:54:01 |
2022-05-15 22:54:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:01 | ------------------------------------ 2022-05-15 22:54:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-de967849-9dba-490d-8a36-37e1ddb78721</node><item-id>item-90ad4152-59e7-4ffb-9c6e-f96615d34656</item-id></data> 2022-05-15 22:54:01 | 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-de967849-9dba-490d-8a36-37e1ddb78721</value></node><item-id label="Item ID" type="text-single"><value>item-90ad4152-59e7-4ffb-9c6e-f96615d34656</value></item-id><item label="Item" type="text-multi"><value><item id="item-90ad4152-59e7-4ffb-9c6e-f96615d34656"><test>item-90ad4152-59e7-4ffb-9c6e-f96615d34656</test></item></value></item></result> 2022-05-15 22:54:01 | [Mutex] notify: [retrieved:item:item-90ad4152-59e7-4ffb-9c6e-f96615d34656:payload-matches:true:localhost] 2022-05-15 22:54:01 | [Mutex] received everything. 2022-05-15 22:54:01 | [Mutex] isItemNotified: retrieved:item:item-90ad4152-59e7-4ffb-9c6e-f96615d34656:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-05-15 22:54:01 |
2022-05-15 22:54:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:01 | ------------------------------------ 2022-05-15 22:54:01 | 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:54:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-de967849-9dba-490d-8a36-37e1ddb78721</value><value>test</value><value>node-e0a9fd45-39a2-4fa2-98bc-1055d47514d8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-05-15 22:54:01 |
2022-05-15 22:54:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:01 | ------------------------------------ 2022-05-15 22:54:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-de967849-9dba-490d-8a36-37e1ddb78721)</node-pattern></data> 2022-05-15 22:54:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.143s |
2022-05-15 22:54:00 |
2022-05-15 22:54:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:00 | ------------------------------------ 2022-05-15 22:54:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-de967849-9dba-490d-8a36-37e1ddb78721</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-15 22:54:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.212s |
2022-05-15 22:54:02 |
2022-05-15 22:54:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-15 22:54:02 | ------------------------------------ 2022-05-15 22:54:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-de967849-9dba-490d-8a36-37e1ddb78721</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-15 22:54:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |