Test duration: 8.134s
| Passed Tests | ||
|---|---|---|
| tigase.tests.pubsub.TestRestApiUsingXML | ||
| configureNodes | 1.093s |
2017-11-29 09:34:09 |
2017-11-29 09:34:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:09 | ------------------------------------ 2017-11-29 09:34:09 | tigase.jaxmpp.core.client.JaxmppCore$DefaultPacketWriter.write: SENT: <iq to="pubsub.localhost" id="Nr6bDq" type="set"><pubsub xmlns="http://jabber.org/protocol/pubsub#owner"><configure node="node-5cc42930-6038-411a-a76e-992d56428a46"><x xmlns="jabber:x:data" type="submit"><field type="text-single" var="pubsub#collection"><value>node-330e8e88-1fb3-446d-a6e0-88e79fddb496</value></field></x></configure></pubsub></iq> 2017-11-29 09:34:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.send: Send (oid=265939934): <iq to="pubsub.localhost" id="Nr6bDq" type="set"><pubsub xmlns="http://jabber.org/protocol/pubsub#owner"><configure node="node-5cc42930-6038-411a-a76e-992d56428a46"><x xmlns="jabber:x:data" type="submit"><field type="text-single" var="pubsub#collection"><value>node-330e8e88-1fb3-446d-a6e0-88e79fddb496</value></field></x></configure></pubsub></iq> 2017-11-29 09:34:09 | [Mutex] waiting for: [configured:node:node-5cc42930-6038-411a-a76e-992d56428a46:node-330e8e88-1fb3-446d-a6e0-88e79fddb496] 2017-11-29 09:34:09 | [Mutex] received everything. 2017-11-29 09:34:09 | [Mutex] isItemNotified: configured:node:node-5cc42930-6038-411a-a76e-992d56428a46:node-330e8e88-1fb3-446d-a6e0-88e79fddb496 :: true 2017-11-29 09:34:10 | tigase.jaxmpp.core.client.JaxmppCore$DefaultPacketWriter.write: SENT: <iq to="pubsub.localhost" id="FGNDDu" type="get"><query xmlns="http://jabber.org/protocol/disco#items" node="node-330e8e88-1fb3-446d-a6e0-88e79fddb496"/></iq> 2017-11-29 09:34:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.send: Send (oid=265939934): <iq to="pubsub.localhost" id="FGNDDu" type="get"><query xmlns="http://jabber.org/protocol/disco#items" node="node-330e8e88-1fb3-446d-a6e0-88e79fddb496"/></iq> 2017-11-29 09:34:10 | [Mutex] waiting for: [received:nodes:6678f7d4-45e0-44c4-b469-cc78f31f2fa0:localhost] 2017-11-29 09:34:10 | [Mutex] received everything. 2017-11-29 09:34:10 | [Mutex] isItemNotified: received:node:6678f7d4-45e0-44c4-b469-cc78f31f2fa0:localhost:node-5cc42930-6038-411a-a76e-992d56428a46:Node 5cc42930-6038-411a-a76e-992d56428a46 :: true 2017-11-29 09:34:10 | tigase.jaxmpp.core.client.JaxmppCore$DefaultPacketWriter.write: SENT: <iq to="pubsub.localhost" id="GJUPSR" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.send: Send (oid=265939934): <iq to="pubsub.localhost" id="GJUPSR" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:10 | [Mutex] waiting for: [received:nodes:6d4470af-26fb-44a9-8c72-d14c3fe6f990:localhost] 2017-11-29 09:34:10 | [Mutex] waiting for: [received:nodes:6d4470af-26fb-44a9-8c72-d14c3fe6f990:localhost] 2017-11-29 09:34:10 | [Mutex] received everything. 2017-11-29 09:34:10 | [Mutex] isItemNotified: received:node:6d4470af-26fb-44a9-8c72-d14c3fe6f990:localhost:node-5cc42930-6038-411a-a76e-992d56428a46:Node 5cc42930-6038-411a-a76e-992d56428a46 :: false |
| createNodes | 1.243s |
2017-11-29 09:34:07 |
2017-11-29 09:34:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:07 | ------------------------------------ 2017-11-29 09:34:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5cc42930-6038-411a-a76e-992d56428a46</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5cc42930-6038-411a-a76e-992d56428a46</title></pubsub></data> 2017-11-29 09:34:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2017-11-29 09:34:08 | tigase.jaxmpp.core.client.JaxmppCore$DefaultPacketWriter.write: SENT: <iq to="pubsub.localhost" id="xjMr36" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.send: Send (oid=265939934): <iq to="pubsub.localhost" id="xjMr36" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:08 | [Mutex] waiting for: [received:nodes:76cfe2a2-362e-4cac-b479-a863bc07fa18:localhost] 2017-11-29 09:34:08 | [Mutex] received everything. 2017-11-29 09:34:08 | [Mutex] isItemNotified: received:node:76cfe2a2-362e-4cac-b479-a863bc07fa18:localhost:node-5cc42930-6038-411a-a76e-992d56428a46:Node 5cc42930-6038-411a-a76e-992d56428a46 :: true |
| createSubnodes | 1.021s |
2017-11-29 09:34:08 |
2017-11-29 09:34:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:08 | ------------------------------------ 2017-11-29 09:34:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-330e8e88-1fb3-446d-a6e0-88e79fddb496</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 330e8e88-1fb3-446d-a6e0-88e79fddb496</title></pubsub></data> 2017-11-29 09:34:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2017-11-29 09:34:09 | tigase.jaxmpp.core.client.JaxmppCore$DefaultPacketWriter.write: SENT: <iq to="pubsub.localhost" id="Cp2VQ3" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.send: Send (oid=265939934): <iq to="pubsub.localhost" id="Cp2VQ3" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:09 | [Mutex] waiting for: [received:nodes:35b32cf4-670c-4c0e-9692-9f4307618440:localhost] 2017-11-29 09:34:09 | [Mutex] received everything. 2017-11-29 09:34:09 | [Mutex] isItemNotified: received:node:35b32cf4-670c-4c0e-9692-9f4307618440:localhost:node-330e8e88-1fb3-446d-a6e0-88e79fddb496:Node 330e8e88-1fb3-446d-a6e0-88e79fddb496 :: true |
| deleteNodes | 1.016s |
2017-11-29 09:34:13 |
2017-11-29 09:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:13 | ------------------------------------ 2017-11-29 09:34:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-330e8e88-1fb3-446d-a6e0-88e79fddb496</node></data> 2017-11-29 09:34:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2017-11-29 09:34:14 | tigase.jaxmpp.core.client.JaxmppCore$DefaultPacketWriter.write: SENT: <iq to="pubsub.localhost" id="sBqKW2" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.send: Send (oid=265939934): <iq to="pubsub.localhost" id="sBqKW2" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:14 | [Mutex] waiting for: [received:nodes:41f2c990-ab4f-4be5-93dd-19e363d294db:localhost] 2017-11-29 09:34:14 | [Mutex] received everything. 2017-11-29 09:34:14 | [Mutex] isItemNotified: received:node:41f2c990-ab4f-4be5-93dd-19e363d294db:localhost:node-330e8e88-1fb3-446d-a6e0-88e79fddb496:Node 330e8e88-1fb3-446d-a6e0-88e79fddb496 :: false |
| deleteSubnodes | 1.027s |
2017-11-29 09:34:12 |
2017-11-29 09:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:12 | ------------------------------------ 2017-11-29 09:34:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5cc42930-6038-411a-a76e-992d56428a46</node></data> 2017-11-29 09:34:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2017-11-29 09:34:13 | tigase.jaxmpp.core.client.JaxmppCore$DefaultPacketWriter.write: SENT: <iq to="pubsub.localhost" id="olIy8y" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.send: Send (oid=265939934): <iq to="pubsub.localhost" id="olIy8y" type="get"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2017-11-29 09:34:13 | [Mutex] received everything. 2017-11-29 09:34:13 | [Mutex] isItemNotified: received:node:ed9d0739-d338-4aac-9520-e111cdae3872:localhost:node-5cc42930-6038-411a-a76e-992d56428a46:Node 5cc42930-6038-411a-a76e-992d56428a46 :: false 2017-11-29 09:34:13 | tigase.jaxmpp.core.client.JaxmppCore$DefaultPacketWriter.write: SENT: <iq to="pubsub.localhost" id="9JQJPS" type="get"><query xmlns="http://jabber.org/protocol/disco#items" node="node-330e8e88-1fb3-446d-a6e0-88e79fddb496"/></iq> 2017-11-29 09:34:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.send: Send (oid=265939934): <iq to="pubsub.localhost" id="9JQJPS" type="get"><query xmlns="http://jabber.org/protocol/disco#items" node="node-330e8e88-1fb3-446d-a6e0-88e79fddb496"/></iq> 2017-11-29 09:34:13 | [Mutex] waiting for: [received:nodes:2519a4f7-0bec-4a1d-8a54-df2737799a53:localhost] 2017-11-29 09:34:13 | [Mutex] received everything. 2017-11-29 09:34:13 | [Mutex] isItemNotified: received:node:2519a4f7-0bec-4a1d-8a54-df2737799a53:localhost:node-5cc42930-6038-411a-a76e-992d56428a46:Node 5cc42930-6038-411a-a76e-992d56428a46 :: false |
| publishItemsToNodes | 0.030s |
2017-11-29 09:34:11 |
2017-11-29 09:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:11 | ------------------------------------ 2017-11-29 09:34:11 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5cc42930-6038-411a-a76e-992d56428a46</node><item-id>item-9892289d-58eb-471b-b550-12fda3993927</item-id><entry><test>item-9892289d-58eb-471b-b550-12fda3993927</test></entry></data> 2017-11-29 09:34:11 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-9892289d-58eb-471b-b550-12fda3993927</value></item-id></result> 2017-11-29 09:34:11 | [Mutex] received everything. 2017-11-29 09:34:11 | [Mutex] isItemNotified: published:item:notifieditem-9892289d-58eb-471b-b550-12fda3993927:admin@localhost :: true |
| retractItemsFromNodes | 0.071s |
2017-11-29 09:34:11 |
2017-11-29 09:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:11 | ------------------------------------ 2017-11-29 09:34:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5cc42930-6038-411a-a76e-992d56428a46</node><item-id>item-9892289d-58eb-471b-b550-12fda3993927</item-id></data> 2017-11-29 09:34:11 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-9892289d-58eb-471b-b550-12fda3993927</value></item-id></result> 2017-11-29 09:34:11 | [Mutex] received everything. 2017-11-29 09:34:11 | [Mutex] isItemNotified: retracted:item:notifieditem-9892289d-58eb-471b-b550-12fda3993927:admin@localhost :: true |
| retrieveItemsFromNodes | 0.059s |
2017-11-29 09:34:11 |
2017-11-29 09:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:11 | ------------------------------------ 2017-11-29 09:34:11 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5cc42930-6038-411a-a76e-992d56428a46</node><item-id>item-9892289d-58eb-471b-b550-12fda3993927</item-id></data> 2017-11-29 09:34:11 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-5cc42930-6038-411a-a76e-992d56428a46</value></node><item-id type="text-single" label="Item ID"><value>item-9892289d-58eb-471b-b550-12fda3993927</value></item-id><item type="text-multi" label="Item"><value><item id="item-9892289d-58eb-471b-b550-12fda3993927"><test>item-9892289d-58eb-471b-b550-12fda3993927</test></item></value></item></result> 2017-11-29 09:34:11 | [Mutex] notify: [retrieved:item:item-9892289d-58eb-471b-b550-12fda3993927:payload-matches:true:localhost] 2017-11-29 09:34:11 | [Mutex] received everything. 2017-11-29 09:34:11 | [Mutex] isItemNotified: retrieved:item:item-9892289d-58eb-471b-b550-12fda3993927:payload-matches:true:localhost :: true |
| retrieveUserSubscriptions | 0.056s |
2017-11-29 09:34:11 |
2017-11-29 09:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:11 | ------------------------------------ 2017-11-29 09:34:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2017-11-29 09:34:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-330e8e88-1fb3-446d-a6e0-88e79fddb496</value><value>node-5cc42930-6038-411a-a76e-992d56428a46</value></nodes></result> |
| retrieveUserSubscriptionsWithRegex | 0.057s |
2017-11-29 09:34:11 |
2017-11-29 09:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:11 | ------------------------------------ 2017-11-29 09:34:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-5cc42930-6038-411a-a76e-992d56428a46)</node-pattern></data> 2017-11-29 09:34:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
| subscribeNodes | 1.023s |
2017-11-29 09:34:10 |
2017-11-29 09:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:10 | ------------------------------------ 2017-11-29 09:34:10 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5cc42930-6038-411a-a76e-992d56428a46</node><jids><value>admin@localhost</value></jids></data> 2017-11-29 09:34:10 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
| unsubscribeNodes | 1.063s |
2017-11-29 09:34:11 |
2017-11-29 09:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2017-11-29 09:34:11 | ------------------------------------ 2017-11-29 09:34:11 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5cc42930-6038-411a-a76e-992d56428a46</node><jids><value>admin@localhost</value></jids></data> 2017-11-29 09:34:11 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |