Generated by TestNG with ReportNG at 21:21 PST on Monday 18 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.804s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.859s
2021-01-18 21:36:52 |

2021-01-18 21:36:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-18 21:36:52 | ------------------------------------

2021-01-18 21:36:52 | [Mutex] isItemNotified: node_eit0vn0203:exists :: false

2021-01-18 21:36:52 | [Mutex] waiting for: [node_eit0vn0203:create_node]

2021-01-18 21:36:52 | [Mutex] received everything.

2021-01-18 21:36:52 | [Mutex] isItemNotified: node_eit0vn0203:create_node:success :: true

2021-01-18 21:36:52 | [Mutex] waiting for: [node_eit0vn0203:subscribe_node]

2021-01-18 21:36:52 | [Mutex] received everything.

2021-01-18 21:36:52 | [Mutex] isItemNotified: node_eit0vn0203:subscribe_node:success :: true

2021-01-18 21:36:52 |


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


2021-01-18 21:36:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 21:36:52 | command: <data><node>node_eit0vn0203</node><entry><content>content_upv00w0204</content></entry></data>

2021-01-18 21:36:52 | target: http://localhost:8088

2021-01-18 21:36:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-18 21:36:52 | entity: <data><node>node_eit0vn0203</node><entry><content>content_upv00w0204</content></entry></data>

2021-01-18 21:36:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:36:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 21:36:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3df9f914-0568-4c7c-92fc-e64e0a85dc00</value></item-id></result>

2021-01-18 21:36:52 | contains: true

2021-01-18 21:36:52 | [Mutex] received everything.

2021-01-18 21:36:52 | [Mutex] isItemNotified: user_regular3vviud0202@test-domain.com:message:received:content_upv00w0204 :: true

2021-01-18 21:36:52 |


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


2021-01-18 21:36:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 21:36:52 | command: <data><node>node_eit0vn0203</node><expire-at>2021-01-19T05:36:47Z</expire-at><entry><content>content_ews4q0205</content></entry></data>

2021-01-18 21:36:52 | target: http://localhost:8088

2021-01-18 21:36:52 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-01-18 21:36:52 | entity: <data><node>node_eit0vn0203</node><expire-at>2021-01-19T05:36:47Z</expire-at><entry><content>content_ews4q0205</content></entry></data>

2021-01-18 21:36:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:36:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 21:36:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c2297f5-ce89-4df9-9271-eeb166fb1ac6</value></item-id></result>

2021-01-18 21:36:52 | contains: true

2021-01-18 21:36:52 | [Mutex] waiting for: [user_regular3vviud0202@test-domain.com:message:received:content_ews4q0205]

2021-01-18 21:37:07 | [Mutex] timeout. Not received [user_regular3vviud0202@test-domain.com:message:received:content_ews4q0205]

2021-01-18 21:37:07 | [Mutex] isItemNotified: user_regular3vviud0202@test-domain.com:message:received:content_ews4q0205 :: false

2021-01-18 21:37:07 |


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


2021-01-18 21:37:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 21:37:07 | command: <data><node>node_eit0vn0203</node><entry><content>content_avxwek0206</content></entry></data>

2021-01-18 21:37:07 | target: http://localhost:8088

2021-01-18 21:37:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-18 21:37:07 | entity: <data><node>node_eit0vn0203</node><entry><content>content_avxwek0206</content></entry></data>

2021-01-18 21:37:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:37:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 21:37:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d8e96548-b82c-44df-99a9-3baa5ee15447</value></item-id></result>

2021-01-18 21:37:07 | contains: true

2021-01-18 21:37:13 | [Mutex] waiting for: [user_regular3vviud0202@test-domain.com:message:received:content_avxwek0206]

2021-01-18 21:37:13 | [Mutex] received everything.

2021-01-18 21:37:13 | [Mutex] isItemNotified: user_regular3vviud0202@test-domain.com:message:received:content_avxwek0206 :: true

2021-01-18 21:37:13 |


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


2021-01-18 21:37:13 | [Mutex] received everything.

2021-01-18 21:37:13 | [Mutex] isItemNotified: node_eit0vn0203:subscribe_node:success :: true

2021-01-18 21:37:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 21:37:13 | command: <data><node>node_eit0vn0203</node><expire-at>2021-01-19T05:37:18Z</expire-at><entry><content>content_lqqxb0207</content></entry></data>

2021-01-18 21:37:13 | target: http://localhost:8088

2021-01-18 21:37:13 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-01-18 21:37:13 | entity: <data><node>node_eit0vn0203</node><expire-at>2021-01-19T05:37:18Z</expire-at><entry><content>content_lqqxb0207</content></entry></data>

2021-01-18 21:37:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:37:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 21:37:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cef224cb-08d9-4eea-a97e-395edb57c416</value></item-id></result>

2021-01-18 21:37:13 | contains: true

2021-01-18 21:37:21 | [Mutex] waiting for: [user_regular3vviud0202@test-domain.com:message:received:content_lqqxb0207]

2021-01-18 21:37:36 | [Mutex] timeout. Not received [user_regular3vviud0202@test-domain.com:message:received:content_lqqxb0207]

2021-01-18 21:37:36 | [Mutex] received everything.

2021-01-18 21:37:36 | [Mutex] isItemNotified: user_regular3vviud0202@test-domain.com:message:received:content_lqqxb0207 :: false

2021-01-18 21:37:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lqqxb0207 :: true