Generated by TestNG with ReportNG at 21:41 PST on Wednesday 27 January 2021
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.775s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.729s
2021-01-27 21:56:59 |

2021-01-27 21:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-27 21:56:59 | ------------------------------------

2021-01-27 21:56:59 | [Mutex] isItemNotified: node_1najb60203:exists :: false

2021-01-27 21:56:59 | [Mutex] waiting for: [node_1najb60203:create_node]

2021-01-27 21:56:59 | [Mutex] received everything.

2021-01-27 21:56:59 | [Mutex] isItemNotified: node_1najb60203:create_node:success :: true

2021-01-27 21:56:59 | [Mutex] waiting for: [node_1najb60203:subscribe_node]

2021-01-27 21:56:59 | [Mutex] waiting for: [node_1najb60203:subscribe_node]

2021-01-27 21:56:59 | [Mutex] received everything.

2021-01-27 21:56:59 | [Mutex] isItemNotified: node_1najb60203:subscribe_node:success :: true

2021-01-27 21:56:59 |


===== publishing normal message (to online)


2021-01-27 21:56:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 21:56:59 | command: <data><node>node_1najb60203</node><entry><content>content_4agr3r0204</content></entry></data>

2021-01-27 21:56:59 | target: http://localhost:8088

2021-01-27 21:56:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-27 21:56:59 | entity: <data><node>node_1najb60203</node><entry><content>content_4agr3r0204</content></entry></data>

2021-01-27 21:56:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:56:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 21:56:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1781e7f1-89f2-4120-9170-a7454b699f7a</value></item-id></result>

2021-01-27 21:56:59 | contains: true

2021-01-27 21:56:59 | [Mutex] received everything.

2021-01-27 21:56:59 | [Mutex] isItemNotified: user_regulari9dcov0202@test-domain.com:message:received:content_4agr3r0204 :: true

2021-01-27 21:56:59 |


===== publishing already old message - expecting message being filtered out (to online)


2021-01-27 21:56:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 21:56:59 | command: <data><node>node_1najb60203</node><expire-at>2021-01-28T05:56:54Z</expire-at><entry><content>content_fbqp9p0205</content></entry></data>

2021-01-27 21:56:59 | target: http://localhost:8088

2021-01-27 21:56:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-27 21:56:59 | entity: <data><node>node_1najb60203</node><expire-at>2021-01-28T05:56:54Z</expire-at><entry><content>content_fbqp9p0205</content></entry></data>

2021-01-27 21:56:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:56:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 21:56:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>73d64753-7b6b-45cb-be09-26cd48c4ebaf</value></item-id></result>

2021-01-27 21:56:59 | contains: true

2021-01-27 21:56:59 | [Mutex] waiting for: [user_regulari9dcov0202@test-domain.com:message:received:content_fbqp9p0205]

2021-01-27 21:57:14 | [Mutex] timeout. Not received [user_regulari9dcov0202@test-domain.com:message:received:content_fbqp9p0205]

2021-01-27 21:57:14 | [Mutex] isItemNotified: user_regulari9dcov0202@test-domain.com:message:received:content_fbqp9p0205 :: false

2021-01-27 21:57:14 |


===== publishing normal message (to offline)


2021-01-27 21:57:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 21:57:14 | command: <data><node>node_1najb60203</node><entry><content>content_curbd0206</content></entry></data>

2021-01-27 21:57:14 | target: http://localhost:8088

2021-01-27 21:57:14 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-01-27 21:57:14 | entity: <data><node>node_1najb60203</node><entry><content>content_curbd0206</content></entry></data>

2021-01-27 21:57:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:57:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 21:57:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55447505-ffb6-4ea6-b7d2-d7bf9d1ba7b5</value></item-id></result>

2021-01-27 21:57:15 | contains: true

2021-01-27 21:57:20 | [Mutex] waiting for: [user_regulari9dcov0202@test-domain.com:message:received:content_curbd0206]

2021-01-27 21:57:20 | [Mutex] waiting for: [user_regulari9dcov0202@test-domain.com:message:received:content_curbd0206]

2021-01-27 21:57:20 | [Mutex] received everything.

2021-01-27 21:57:20 | [Mutex] isItemNotified: user_regulari9dcov0202@test-domain.com:message:received:content_curbd0206 :: true

2021-01-27 21:57:20 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-01-27 21:57:20 | [Mutex] received everything.

2021-01-27 21:57:20 | [Mutex] isItemNotified: node_1najb60203:subscribe_node:success :: true

2021-01-27 21:57:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 21:57:20 | command: <data><node>node_1najb60203</node><expire-at>2021-01-28T05:57:25Z</expire-at><entry><content>content_31s1mm0207</content></entry></data>

2021-01-27 21:57:20 | target: http://localhost:8088

2021-01-27 21:57:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-27 21:57:20 | entity: <data><node>node_1najb60203</node><expire-at>2021-01-28T05:57:25Z</expire-at><entry><content>content_31s1mm0207</content></entry></data>

2021-01-27 21:57:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:57:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 21:57:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6f85e078-8b64-48a9-8237-db76772a5992</value></item-id></result>

2021-01-27 21:57:20 | contains: true

2021-01-27 21:57:28 | [Mutex] waiting for: [user_regulari9dcov0202@test-domain.com:message:received:content_31s1mm0207]

2021-01-27 21:57:28 | [Mutex] waiting for: [user_regulari9dcov0202@test-domain.com:message:received:content_31s1mm0207]

2021-01-27 21:57:28 | [Mutex] waiting for: [user_regulari9dcov0202@test-domain.com:message:received:content_31s1mm0207]

2021-01-27 21:57:43 | [Mutex] timeout. Not received [user_regulari9dcov0202@test-domain.com:message:received:content_31s1mm0207]

2021-01-27 21:57:43 | [Mutex] received everything.

2021-01-27 21:57:43 | [Mutex] isItemNotified: user_regulari9dcov0202@test-domain.com:message:received:content_31s1mm0207 :: false

2021-01-27 21:57:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_31s1mm0207 :: true