Generated by TestNG with ReportNG at 13:35 PST on Wednesday 16 December 2020
root@eaa73862192b / 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.239s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.808s
2020-12-16 13:51:24 |

2020-12-16 13:51:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-16 13:51:24 | ------------------------------------

2020-12-16 13:51:24 | [Mutex] isItemNotified: node_y99al60203:exists :: false

2020-12-16 13:51:24 | [Mutex] waiting for: [node_y99al60203:create_node]

2020-12-16 13:51:24 | [Mutex] received everything.

2020-12-16 13:51:24 | [Mutex] isItemNotified: node_y99al60203:create_node:success :: true

2020-12-16 13:51:24 | [Mutex] waiting for: [node_y99al60203:subscribe_node]

2020-12-16 13:51:24 | [Mutex] received everything.

2020-12-16 13:51:24 | [Mutex] isItemNotified: node_y99al60203:subscribe_node:success :: true

2020-12-16 13:51:24 |


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


2020-12-16 13:51:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:51:24 | command: <data><node>node_y99al60203</node><entry><content>content_85sdyq0204</content></entry></data>

2020-12-16 13:51:24 | target: http://localhost:8088

2020-12-16 13:51:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-16 13:51:24 | entity: <data><node>node_y99al60203</node><entry><content>content_85sdyq0204</content></entry></data>

2020-12-16 13:51:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:51:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:51:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0f857954-7818-4680-b179-7915cb80407b</value></item-id></result>

2020-12-16 13:51:24 | contains: true

2020-12-16 13:51:24 | [Mutex] waiting for: [user_regularil97qs0202@test-domain.com:message:received:content_85sdyq0204]

2020-12-16 13:51:24 | [Mutex] received everything.

2020-12-16 13:51:24 | [Mutex] isItemNotified: user_regularil97qs0202@test-domain.com:message:received:content_85sdyq0204 :: true

2020-12-16 13:51:24 |


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


2020-12-16 13:51:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:51:24 | command: <data><node>node_y99al60203</node><expire-at>2020-12-16T21:51:19Z</expire-at><entry><content>content_gg1atc0205</content></entry></data>

2020-12-16 13:51:24 | target: http://localhost:8088

2020-12-16 13:51:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-16 13:51:24 | entity: <data><node>node_y99al60203</node><expire-at>2020-12-16T21:51:19Z</expire-at><entry><content>content_gg1atc0205</content></entry></data>

2020-12-16 13:51:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:51:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:51:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e0184299-56c5-435c-b8af-961ab8231424</value></item-id></result>

2020-12-16 13:51:24 | contains: true

2020-12-16 13:51:24 | [Mutex] waiting for: [user_regularil97qs0202@test-domain.com:message:received:content_gg1atc0205]

2020-12-16 13:51:39 | [Mutex] timeout. Not received [user_regularil97qs0202@test-domain.com:message:received:content_gg1atc0205]

2020-12-16 13:51:39 | [Mutex] isItemNotified: user_regularil97qs0202@test-domain.com:message:received:content_gg1atc0205 :: false

2020-12-16 13:51:39 |


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


2020-12-16 13:51:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:51:39 | command: <data><node>node_y99al60203</node><entry><content>content_dlp1co0206</content></entry></data>

2020-12-16 13:51:39 | target: http://localhost:8088

2020-12-16 13:51:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-16 13:51:39 | entity: <data><node>node_y99al60203</node><entry><content>content_dlp1co0206</content></entry></data>

2020-12-16 13:51:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:51:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:51:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>54a4a78e-160c-4895-bc60-eb7c300139d0</value></item-id></result>

2020-12-16 13:51:39 | contains: true

2020-12-16 13:51:44 | [Mutex] waiting for: [user_regularil97qs0202@test-domain.com:message:received:content_dlp1co0206]

2020-12-16 13:51:44 | [Mutex] waiting for: [user_regularil97qs0202@test-domain.com:message:received:content_dlp1co0206]

2020-12-16 13:51:44 | [Mutex] received everything.

2020-12-16 13:51:44 | [Mutex] isItemNotified: user_regularil97qs0202@test-domain.com:message:received:content_dlp1co0206 :: true

2020-12-16 13:51:44 |


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


2020-12-16 13:51:44 | [Mutex] received everything.

2020-12-16 13:51:44 | [Mutex] isItemNotified: node_y99al60203:subscribe_node:success :: true

2020-12-16 13:51:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:51:44 | command: <data><node>node_y99al60203</node><expire-at>2020-12-16T21:51:49Z</expire-at><entry><content>content_cqk9vx0207</content></entry></data>

2020-12-16 13:51:44 | target: http://localhost:8088

2020-12-16 13:51:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-16 13:51:44 | entity: <data><node>node_y99al60203</node><expire-at>2020-12-16T21:51:49Z</expire-at><entry><content>content_cqk9vx0207</content></entry></data>

2020-12-16 13:51:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:51:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:51:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97057919-e17b-42f9-a7ef-20786adee45f</value></item-id></result>

2020-12-16 13:51:44 | contains: true

2020-12-16 13:51:53 | [Mutex] waiting for: [user_regularil97qs0202@test-domain.com:message:received:content_cqk9vx0207]

2020-12-16 13:51:53 | [Mutex] waiting for: [user_regularil97qs0202@test-domain.com:message:received:content_cqk9vx0207]

2020-12-16 13:52:08 | [Mutex] timeout. Not received [user_regularil97qs0202@test-domain.com:message:received:content_cqk9vx0207]

2020-12-16 13:52:08 | [Mutex] received everything.

2020-12-16 13:52:08 | [Mutex] isItemNotified: user_regularil97qs0202@test-domain.com:message:received:content_cqk9vx0207 :: false

2020-12-16 13:52:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cqk9vx0207 :: true