Test duration : 9.908s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2021-04-21 22:44:59 |
2021-04-21 22:44:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:44:59 | ------------------------------------ 2021-04-21 22:44:59 | [Mutex] waiting for: [configured:node:node-5b6ce03f-7913-452a-b791-ec1dc273224a:node-7599e46a-4390-4619-9605-562a5848daf0] 2021-04-21 22:44:59 | [Mutex] received everything. 2021-04-21 22:44:59 | [Mutex] isItemNotified: configured:node:node-5b6ce03f-7913-452a-b791-ec1dc273224a:node-7599e46a-4390-4619-9605-562a5848daf0 :: true 2021-04-21 22:45:00 | [Mutex] waiting for: [received:nodes:3cbc4ccb-dc6d-474e-b85c-f6095395f0f0:localhost] 2021-04-21 22:45:00 | [Mutex] received everything. 2021-04-21 22:45:00 | [Mutex] isItemNotified: received:node:3cbc4ccb-dc6d-474e-b85c-f6095395f0f0:localhost:node-5b6ce03f-7913-452a-b791-ec1dc273224a:Node 5b6ce03f-7913-452a-b791-ec1dc273224a :: true 2021-04-21 22:45:00 | [Mutex] waiting for: [received:nodes:57079bf0-eec9-4a0f-b494-f3347eae5cf1:localhost] 2021-04-21 22:45:00 | [Mutex] received everything. 2021-04-21 22:45:00 | [Mutex] isItemNotified: received:node:57079bf0-eec9-4a0f-b494-f3347eae5cf1:localhost:node-5b6ce03f-7913-452a-b791-ec1dc273224a:Node 5b6ce03f-7913-452a-b791-ec1dc273224a :: false |
createNodes | 1.473s |
2021-04-21 22:44:57 |
2021-04-21 22:44:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:44:57 | ------------------------------------ 2021-04-21 22:44:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5b6ce03f-7913-452a-b791-ec1dc273224a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5b6ce03f-7913-452a-b791-ec1dc273224a</title></pubsub></data> 2021-04-21 22:44:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-21 22:44:58 | [Mutex] waiting for: [received:nodes:5c16ce6f-4111-408d-9d8a-f3eafc3366a6:localhost] 2021-04-21 22:44:58 | [Mutex] received everything. 2021-04-21 22:44:58 | [Mutex] isItemNotified: received:node:5c16ce6f-4111-408d-9d8a-f3eafc3366a6:localhost:node-5b6ce03f-7913-452a-b791-ec1dc273224a:Node 5b6ce03f-7913-452a-b791-ec1dc273224a :: true |
createSubnodes | 1.034s |
2021-04-21 22:44:58 |
2021-04-21 22:44:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:44:58 | ------------------------------------ 2021-04-21 22:44:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7599e46a-4390-4619-9605-562a5848daf0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7599e46a-4390-4619-9605-562a5848daf0</title></pubsub></data> 2021-04-21 22:44:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-21 22:44:59 | [Mutex] waiting for: [received:nodes:1fbb8099-0717-4711-9945-f00e94aeb2fd:localhost] 2021-04-21 22:44:59 | [Mutex] received everything. 2021-04-21 22:44:59 | [Mutex] isItemNotified: received:node:1fbb8099-0717-4711-9945-f00e94aeb2fd:localhost:node-7599e46a-4390-4619-9605-562a5848daf0:Node 7599e46a-4390-4619-9605-562a5848daf0 :: true |
deleteNodes | 1.022s |
2021-04-21 22:45:05 |
2021-04-21 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:05 | ------------------------------------ 2021-04-21 22:45:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7599e46a-4390-4619-9605-562a5848daf0</node></data> 2021-04-21 22:45:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-21 22:45:06 | [Mutex] waiting for: [received:nodes:f1f1c481-389c-48c3-8d3f-07ccbfc57218:localhost] 2021-04-21 22:45:06 | [Mutex] waiting for: [received:nodes:f1f1c481-389c-48c3-8d3f-07ccbfc57218:localhost] 2021-04-21 22:45:06 | [Mutex] received everything. 2021-04-21 22:45:06 | [Mutex] isItemNotified: received:node:f1f1c481-389c-48c3-8d3f-07ccbfc57218:localhost:node-7599e46a-4390-4619-9605-562a5848daf0:Node 7599e46a-4390-4619-9605-562a5848daf0 :: false |
deleteSubnodes | 1.136s |
2021-04-21 22:45:04 |
2021-04-21 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:04 | ------------------------------------ 2021-04-21 22:45:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5b6ce03f-7913-452a-b791-ec1dc273224a</node></data> 2021-04-21 22:45:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-21 22:45:05 | [Mutex] waiting for: [received:nodes:005de3a4-4b72-4038-9f2a-c8f99aa978bf:localhost] 2021-04-21 22:45:05 | [Mutex] waiting for: [received:nodes:005de3a4-4b72-4038-9f2a-c8f99aa978bf:localhost] 2021-04-21 22:45:05 | [Mutex] received everything. 2021-04-21 22:45:05 | [Mutex] isItemNotified: received:node:005de3a4-4b72-4038-9f2a-c8f99aa978bf:localhost:node-5b6ce03f-7913-452a-b791-ec1dc273224a:Node 5b6ce03f-7913-452a-b791-ec1dc273224a :: false 2021-04-21 22:45:05 | [Mutex] waiting for: [received:nodes:8e63cc54-b001-426c-ab1a-a923d90a1193:localhost] 2021-04-21 22:45:05 | [Mutex] received everything. 2021-04-21 22:45:05 | [Mutex] isItemNotified: received:node:8e63cc54-b001-426c-ab1a-a923d90a1193:localhost:node-5b6ce03f-7913-452a-b791-ec1dc273224a:Node 5b6ce03f-7913-452a-b791-ec1dc273224a :: false |
publishItemsToNodes | 0.211s |
2021-04-21 22:45:02 |
2021-04-21 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:02 | ------------------------------------ 2021-04-21 22:45:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5b6ce03f-7913-452a-b791-ec1dc273224a</node><item-id>item-76d481a0-5eee-4350-9b27-a0db23d2ad2a</item-id><entry><test>item-76d481a0-5eee-4350-9b27-a0db23d2ad2a</test></entry></data> 2021-04-21 22:45: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-76d481a0-5eee-4350-9b27-a0db23d2ad2a</value></item-id></result> 2021-04-21 22:45:02 | [Mutex] waiting for: [published:item:notifieditem-76d481a0-5eee-4350-9b27-a0db23d2ad2a:admin@test-domain.com] 2021-04-21 22:45:02 | [Mutex] received everything. 2021-04-21 22:45:02 | [Mutex] isItemNotified: published:item:notifieditem-76d481a0-5eee-4350-9b27-a0db23d2ad2a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.290s |
2021-04-21 22:45:02 |
2021-04-21 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:02 | ------------------------------------ 2021-04-21 22:45:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5b6ce03f-7913-452a-b791-ec1dc273224a</node><item-id>item-76d481a0-5eee-4350-9b27-a0db23d2ad2a</item-id></data> 2021-04-21 22:45: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-76d481a0-5eee-4350-9b27-a0db23d2ad2a</value></item-id></result> 2021-04-21 22:45:02 | [Mutex] waiting for: [retracted:item:notifieditem-76d481a0-5eee-4350-9b27-a0db23d2ad2a:admin@test-domain.com] 2021-04-21 22:45:02 | [Mutex] received everything. 2021-04-21 22:45:02 | [Mutex] isItemNotified: retracted:item:notifieditem-76d481a0-5eee-4350-9b27-a0db23d2ad2a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.285s |
2021-04-21 22:45:02 |
2021-04-21 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:02 | ------------------------------------ 2021-04-21 22:45:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5b6ce03f-7913-452a-b791-ec1dc273224a</node><item-id>item-76d481a0-5eee-4350-9b27-a0db23d2ad2a</item-id></data> 2021-04-21 22:45: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-5b6ce03f-7913-452a-b791-ec1dc273224a</value></node><item-id label="Item ID" type="text-single"><value>item-76d481a0-5eee-4350-9b27-a0db23d2ad2a</value></item-id><item label="Item" type="text-multi"><value><item id="item-76d481a0-5eee-4350-9b27-a0db23d2ad2a"><test>item-76d481a0-5eee-4350-9b27-a0db23d2ad2a</test></item></value></item></result> 2021-04-21 22:45:02 | [Mutex] notify: [retrieved:item:item-76d481a0-5eee-4350-9b27-a0db23d2ad2a:payload-matches:true:localhost] 2021-04-21 22:45:02 | [Mutex] received everything. 2021-04-21 22:45:02 | [Mutex] isItemNotified: retrieved:item:item-76d481a0-5eee-4350-9b27-a0db23d2ad2a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-04-21 22:45:02 |
2021-04-21 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:02 | ------------------------------------ 2021-04-21 22:45:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-21 22:45:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-5b6ce03f-7913-452a-b791-ec1dc273224a</value><value>node-7599e46a-4390-4619-9605-562a5848daf0</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-04-21 22:45:02 |
2021-04-21 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:02 | ------------------------------------ 2021-04-21 22:45: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-5b6ce03f-7913-452a-b791-ec1dc273224a)</node-pattern></data> 2021-04-21 22:45:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.137s |
2021-04-21 22:45:00 |
2021-04-21 22:45:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:00 | ------------------------------------ 2021-04-21 22:45:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5b6ce03f-7913-452a-b791-ec1dc273224a</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-21 22:45: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.252s |
2021-04-21 22:45:02 |
2021-04-21 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-21 22:45:02 | ------------------------------------ 2021-04-21 22:45:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5b6ce03f-7913-452a-b791-ec1dc273224a</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-21 22:45:03 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |