Generated by TestNG with ReportNG at 21:42 PST on Wednesday 11 November 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 : 10.087s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2020-11-11 21:59:32 |

2020-11-11 21:59:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:32 | ------------------------------------

2020-11-11 21:59:32 | [Mutex] waiting for: [configured:node:node-252c543f-7af2-4473-af99-5b015a6b77c0:node-8a42d82d-87f6-4ef8-87a0-455d581552b5]

2020-11-11 21:59:32 | [Mutex] received everything.

2020-11-11 21:59:32 | [Mutex] isItemNotified: configured:node:node-252c543f-7af2-4473-af99-5b015a6b77c0:node-8a42d82d-87f6-4ef8-87a0-455d581552b5 :: true

2020-11-11 21:59:33 | [Mutex] waiting for: [received:nodes:c46dcd62-69ff-4655-9e16-b43acc61fcfa:localhost]

2020-11-11 21:59:33 | [Mutex] received everything.

2020-11-11 21:59:33 | [Mutex] isItemNotified: received:node:c46dcd62-69ff-4655-9e16-b43acc61fcfa:localhost:node-252c543f-7af2-4473-af99-5b015a6b77c0:Node 252c543f-7af2-4473-af99-5b015a6b77c0 :: true

2020-11-11 21:59:33 | [Mutex] waiting for: [received:nodes:527e53f1-40fd-4874-87b4-fdd60b093056:localhost]

2020-11-11 21:59:33 | [Mutex] waiting for: [received:nodes:527e53f1-40fd-4874-87b4-fdd60b093056:localhost]

2020-11-11 21:59:33 | [Mutex] received everything.

2020-11-11 21:59:33 | [Mutex] isItemNotified: received:node:527e53f1-40fd-4874-87b4-fdd60b093056:localhost:node-252c543f-7af2-4473-af99-5b015a6b77c0:Node 252c543f-7af2-4473-af99-5b015a6b77c0 :: false

createNodes 1.424s
2020-11-11 21:59:29 |

2020-11-11 21:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:29 | ------------------------------------

2020-11-11 21:59:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-252c543f-7af2-4473-af99-5b015a6b77c0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 252c543f-7af2-4473-af99-5b015a6b77c0</title></pubsub></data>

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

2020-11-11 21:59:31 | [Mutex] waiting for: [received:nodes:7ff74198-f72b-4877-9322-951289930c82:localhost]

2020-11-11 21:59:31 | [Mutex] waiting for: [received:nodes:7ff74198-f72b-4877-9322-951289930c82:localhost]

2020-11-11 21:59:31 | [Mutex] received everything.

2020-11-11 21:59:31 | [Mutex] isItemNotified: received:node:7ff74198-f72b-4877-9322-951289930c82:localhost:node-252c543f-7af2-4473-af99-5b015a6b77c0:Node 252c543f-7af2-4473-af99-5b015a6b77c0 :: true

createSubnodes 1.032s
2020-11-11 21:59:31 |

2020-11-11 21:59:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:31 | ------------------------------------

2020-11-11 21:59:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8a42d82d-87f6-4ef8-87a0-455d581552b5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8a42d82d-87f6-4ef8-87a0-455d581552b5</title></pubsub></data>

2020-11-11 21:59:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:59:32 | [Mutex] waiting for: [received:nodes:9299d05f-568a-44c4-8433-40ef64674f15:localhost]

2020-11-11 21:59:32 | [Mutex] received everything.

2020-11-11 21:59:32 | [Mutex] isItemNotified: received:node:9299d05f-568a-44c4-8433-40ef64674f15:localhost:node-8a42d82d-87f6-4ef8-87a0-455d581552b5:Node 8a42d82d-87f6-4ef8-87a0-455d581552b5 :: true

deleteNodes 1.020s
2020-11-11 21:59:38 |

2020-11-11 21:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:38 | ------------------------------------

2020-11-11 21:59:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8a42d82d-87f6-4ef8-87a0-455d581552b5</node></data>

2020-11-11 21:59:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:59:39 | [Mutex] waiting for: [received:nodes:10897993-3d3d-47c3-9c7a-66848bbf6ccc:localhost]

2020-11-11 21:59:39 | [Mutex] waiting for: [received:nodes:10897993-3d3d-47c3-9c7a-66848bbf6ccc:localhost]

2020-11-11 21:59:39 | [Mutex] received everything.

2020-11-11 21:59:39 | [Mutex] isItemNotified: received:node:10897993-3d3d-47c3-9c7a-66848bbf6ccc:localhost:node-8a42d82d-87f6-4ef8-87a0-455d581552b5:Node 8a42d82d-87f6-4ef8-87a0-455d581552b5 :: false

deleteSubnodes 1.155s
2020-11-11 21:59:36 |

2020-11-11 21:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:36 | ------------------------------------

2020-11-11 21:59:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-252c543f-7af2-4473-af99-5b015a6b77c0</node></data>

2020-11-11 21:59:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:59:38 | [Mutex] waiting for: [received:nodes:d99070b6-b798-4fe1-b061-e4e188b9e458:localhost]

2020-11-11 21:59:38 | [Mutex] received everything.

2020-11-11 21:59:38 | [Mutex] isItemNotified: received:node:d99070b6-b798-4fe1-b061-e4e188b9e458:localhost:node-252c543f-7af2-4473-af99-5b015a6b77c0:Node 252c543f-7af2-4473-af99-5b015a6b77c0 :: false

2020-11-11 21:59:38 | [Mutex] waiting for: [received:nodes:f15c43e0-f73e-451c-bcc7-b88e814951b3:localhost]

2020-11-11 21:59:38 | [Mutex] received everything.

2020-11-11 21:59:38 | [Mutex] isItemNotified: received:node:f15c43e0-f73e-451c-bcc7-b88e814951b3:localhost:node-252c543f-7af2-4473-af99-5b015a6b77c0:Node 252c543f-7af2-4473-af99-5b015a6b77c0 :: false

publishItemsToNodes 0.247s
2020-11-11 21:59:34 |

2020-11-11 21:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:34 | ------------------------------------

2020-11-11 21:59:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-252c543f-7af2-4473-af99-5b015a6b77c0</node><item-id>item-a5e3044a-7cca-4804-b516-927b49ffcabc</item-id><entry><test>item-a5e3044a-7cca-4804-b516-927b49ffcabc</test></entry></data>

2020-11-11 21:59:34 | 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-a5e3044a-7cca-4804-b516-927b49ffcabc</value></item-id></result>

2020-11-11 21:59:34 | [Mutex] waiting for: [published:item:notifieditem-a5e3044a-7cca-4804-b516-927b49ffcabc:admin@test-domain.com]

2020-11-11 21:59:34 | [Mutex] received everything.

2020-11-11 21:59:34 | [Mutex] isItemNotified: published:item:notifieditem-a5e3044a-7cca-4804-b516-927b49ffcabc:admin@test-domain.com :: true

retractItemsFromNodes 0.365s
2020-11-11 21:59:35 |

2020-11-11 21:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:35 | ------------------------------------

2020-11-11 21:59:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-252c543f-7af2-4473-af99-5b015a6b77c0</node><item-id>item-a5e3044a-7cca-4804-b516-927b49ffcabc</item-id></data>

2020-11-11 21:59:35 | 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-a5e3044a-7cca-4804-b516-927b49ffcabc</value></item-id></result>

2020-11-11 21:59:35 | [Mutex] received everything.

2020-11-11 21:59:35 | [Mutex] isItemNotified: retracted:item:notifieditem-a5e3044a-7cca-4804-b516-927b49ffcabc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.271s
2020-11-11 21:59:34 |

2020-11-11 21:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:34 | ------------------------------------

2020-11-11 21:59:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-252c543f-7af2-4473-af99-5b015a6b77c0</node><item-id>item-a5e3044a-7cca-4804-b516-927b49ffcabc</item-id></data>

2020-11-11 21:59:35 | 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-252c543f-7af2-4473-af99-5b015a6b77c0</value></node><item-id label="Item ID" type="text-single"><value>item-a5e3044a-7cca-4804-b516-927b49ffcabc</value></item-id><item label="Item" type="text-multi"><value><item id="item-a5e3044a-7cca-4804-b516-927b49ffcabc"><test>item-a5e3044a-7cca-4804-b516-927b49ffcabc</test></item></value></item></result>

2020-11-11 21:59:35 | [Mutex] notify: [retrieved:item:item-a5e3044a-7cca-4804-b516-927b49ffcabc:payload-matches:true:localhost]

2020-11-11 21:59:35 | [Mutex] received everything.

2020-11-11 21:59:35 | [Mutex] isItemNotified: retrieved:item:item-a5e3044a-7cca-4804-b516-927b49ffcabc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2020-11-11 21:59:35 |

2020-11-11 21:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:35 | ------------------------------------

2020-11-11 21:59:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-11 21:59:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-252c543f-7af2-4473-af99-5b015a6b77c0</value><value>node-8a42d82d-87f6-4ef8-87a0-455d581552b5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-11-11 21:59:35 |

2020-11-11 21:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:35 | ------------------------------------

2020-11-11 21:59:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-252c543f-7af2-4473-af99-5b015a6b77c0)</node-pattern></data>

2020-11-11 21:59:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.139s
2020-11-11 21:59:33 |

2020-11-11 21:59:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:33 | ------------------------------------

2020-11-11 21:59:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-252c543f-7af2-4473-af99-5b015a6b77c0</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-11 21:59:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.249s
2020-11-11 21:59:35 |

2020-11-11 21:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:59:35 | ------------------------------------

2020-11-11 21:59:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-252c543f-7af2-4473-af99-5b015a6b77c0</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-11 21:59:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>