Generated by TestNG with ReportNG at 22:42 PDT on Sunday 04 October 2020
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.866s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2020-10-04 23:00:31 |

2020-10-04 23:00:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:31 | ------------------------------------

2020-10-04 23:00:31 | [Mutex] waiting for: [configured:node:node-c261f696-77b5-467a-8054-8683969c493d:node-23473bdb-2f4d-4647-a0d3-3ef68b082671]

2020-10-04 23:00:31 | [Mutex] received everything.

2020-10-04 23:00:31 | [Mutex] isItemNotified: configured:node:node-c261f696-77b5-467a-8054-8683969c493d:node-23473bdb-2f4d-4647-a0d3-3ef68b082671 :: true

2020-10-04 23:00:32 | [Mutex] waiting for: [received:nodes:46f2d2e5-2e62-42e3-bc41-d1335c96c053:localhost]

2020-10-04 23:00:32 | [Mutex] received everything.

2020-10-04 23:00:32 | [Mutex] isItemNotified: received:node:46f2d2e5-2e62-42e3-bc41-d1335c96c053:localhost:node-c261f696-77b5-467a-8054-8683969c493d:Node c261f696-77b5-467a-8054-8683969c493d :: true

2020-10-04 23:00:32 | [Mutex] waiting for: [received:nodes:3541ac88-59a0-4831-a97a-5a85235d0abc:localhost]

2020-10-04 23:00:32 | [Mutex] waiting for: [received:nodes:3541ac88-59a0-4831-a97a-5a85235d0abc:localhost]

2020-10-04 23:00:32 | [Mutex] waiting for: [received:nodes:3541ac88-59a0-4831-a97a-5a85235d0abc:localhost]

2020-10-04 23:00:32 | [Mutex] waiting for: [received:nodes:3541ac88-59a0-4831-a97a-5a85235d0abc:localhost]

2020-10-04 23:00:32 | [Mutex] received everything.

2020-10-04 23:00:32 | [Mutex] isItemNotified: received:node:3541ac88-59a0-4831-a97a-5a85235d0abc:localhost:node-c261f696-77b5-467a-8054-8683969c493d:Node c261f696-77b5-467a-8054-8683969c493d :: false

createNodes 1.436s
2020-10-04 23:00:29 |

2020-10-04 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:29 | ------------------------------------

2020-10-04 23:00:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c261f696-77b5-467a-8054-8683969c493d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c261f696-77b5-467a-8054-8683969c493d</title></pubsub></data>

2020-10-04 23:00:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-04 23:00:30 | [Mutex] waiting for: [received:nodes:79cf7e7b-755b-4637-bae5-3c54676d05f3:localhost]

2020-10-04 23:00:30 | [Mutex] received everything.

2020-10-04 23:00:30 | [Mutex] isItemNotified: received:node:79cf7e7b-755b-4637-bae5-3c54676d05f3:localhost:node-c261f696-77b5-467a-8054-8683969c493d:Node c261f696-77b5-467a-8054-8683969c493d :: true

createSubnodes 1.029s
2020-10-04 23:00:30 |

2020-10-04 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:30 | ------------------------------------

2020-10-04 23:00:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-23473bdb-2f4d-4647-a0d3-3ef68b082671</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 23473bdb-2f4d-4647-a0d3-3ef68b082671</title></pubsub></data>

2020-10-04 23:00:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-04 23:00:31 | [Mutex] waiting for: [received:nodes:eeb43bba-49e4-41e0-a42a-7bdc1918c4d9:localhost]

2020-10-04 23:00:31 | [Mutex] received everything.

2020-10-04 23:00:31 | [Mutex] isItemNotified: received:node:eeb43bba-49e4-41e0-a42a-7bdc1918c4d9:localhost:node-23473bdb-2f4d-4647-a0d3-3ef68b082671:Node 23473bdb-2f4d-4647-a0d3-3ef68b082671 :: true

deleteNodes 1.018s
2020-10-04 23:00:36 |

2020-10-04 23:00:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:36 | ------------------------------------

2020-10-04 23:00:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-23473bdb-2f4d-4647-a0d3-3ef68b082671</node></data>

2020-10-04 23:00:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-04 23:00:37 | [Mutex] waiting for: [received:nodes:a9c9c403-f037-44c3-a93a-cecb4b2e1280:localhost]

2020-10-04 23:00:37 | [Mutex] received everything.

2020-10-04 23:00:37 | [Mutex] isItemNotified: received:node:a9c9c403-f037-44c3-a93a-cecb4b2e1280:localhost:node-23473bdb-2f4d-4647-a0d3-3ef68b082671:Node 23473bdb-2f4d-4647-a0d3-3ef68b082671 :: false

deleteSubnodes 1.157s
2020-10-04 23:00:35 |

2020-10-04 23:00:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:35 | ------------------------------------

2020-10-04 23:00:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c261f696-77b5-467a-8054-8683969c493d</node></data>

2020-10-04 23:00:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-04 23:00:36 | [Mutex] waiting for: [received:nodes:04b5d734-2fdb-454c-aa0a-d2ce40be3151:localhost]

2020-10-04 23:00:36 | [Mutex] waiting for: [received:nodes:04b5d734-2fdb-454c-aa0a-d2ce40be3151:localhost]

2020-10-04 23:00:36 | [Mutex] received everything.

2020-10-04 23:00:36 | [Mutex] isItemNotified: received:node:04b5d734-2fdb-454c-aa0a-d2ce40be3151:localhost:node-c261f696-77b5-467a-8054-8683969c493d:Node c261f696-77b5-467a-8054-8683969c493d :: false

2020-10-04 23:00:36 | [Mutex] waiting for: [received:nodes:ae3ba80e-bae6-4a8b-b99a-7c98d149f834:localhost]

2020-10-04 23:00:36 | [Mutex] received everything.

2020-10-04 23:00:36 | [Mutex] isItemNotified: received:node:ae3ba80e-bae6-4a8b-b99a-7c98d149f834:localhost:node-c261f696-77b5-467a-8054-8683969c493d:Node c261f696-77b5-467a-8054-8683969c493d :: false

publishItemsToNodes 0.227s
2020-10-04 23:00:33 |

2020-10-04 23:00:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:33 | ------------------------------------

2020-10-04 23:00:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c261f696-77b5-467a-8054-8683969c493d</node><item-id>item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c</item-id><entry><test>item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c</test></entry></data>

2020-10-04 23:00:33 | 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-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c</value></item-id></result>

2020-10-04 23:00:33 | [Mutex] received everything.

2020-10-04 23:00:33 | [Mutex] isItemNotified: published:item:notifieditem-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2020-10-04 23:00:34 |

2020-10-04 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:34 | ------------------------------------

2020-10-04 23:00:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c261f696-77b5-467a-8054-8683969c493d</node><item-id>item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c</item-id></data>

2020-10-04 23:00:34 | 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-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c</value></item-id></result>

2020-10-04 23:00:34 | [Mutex] waiting for: [retracted:item:notifieditem-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c:admin@test-domain.com]

2020-10-04 23:00:34 | [Mutex] received everything.

2020-10-04 23:00:34 | [Mutex] isItemNotified: retracted:item:notifieditem-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.234s
2020-10-04 23:00:33 |

2020-10-04 23:00:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:33 | ------------------------------------

2020-10-04 23:00:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c261f696-77b5-467a-8054-8683969c493d</node><item-id>item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c</item-id></data>

2020-10-04 23:00:34 | 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-c261f696-77b5-467a-8054-8683969c493d</value></node><item-id label="Item ID" type="text-single"><value>item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c</value></item-id><item label="Item" type="text-multi"><value><item id="item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c"><test>item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c</test></item></value></item></result>

2020-10-04 23:00:34 | [Mutex] notify: [retrieved:item:item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c:payload-matches:true:localhost]

2020-10-04 23:00:34 | [Mutex] received everything.

2020-10-04 23:00:34 | [Mutex] isItemNotified: retrieved:item:item-78a8f8aa-b4d1-4ed3-8262-fd633d794d9c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-10-04 23:00:34 |

2020-10-04 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:34 | ------------------------------------

2020-10-04 23:00:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-04 23:00:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c261f696-77b5-467a-8054-8683969c493d</value><value>test</value><value>node-23473bdb-2f4d-4647-a0d3-3ef68b082671</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-04 23:00:34 |

2020-10-04 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:34 | ------------------------------------

2020-10-04 23:00:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c261f696-77b5-467a-8054-8683969c493d)</node-pattern></data>

2020-10-04 23:00:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.154s
2020-10-04 23:00:32 |

2020-10-04 23:00:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:32 | ------------------------------------

2020-10-04 23:00:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c261f696-77b5-467a-8054-8683969c493d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-04 23:00:32 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2020-10-04 23:00:34 |

2020-10-04 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 23:00:34 | ------------------------------------

2020-10-04 23:00:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c261f696-77b5-467a-8054-8683969c493d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-04 23:00:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>