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

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.636s
2020-12-28 21:59:08 |

2020-12-28 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-28 21:59:08 | ------------------------------------

2020-12-28 21:59:08 | [Mutex] isItemNotified: node_ss6kz90203:exists :: false

2020-12-28 21:59:08 | [Mutex] waiting for: [node_ss6kz90203:create_node]

2020-12-28 21:59:08 | [Mutex] received everything.

2020-12-28 21:59:08 | [Mutex] isItemNotified: node_ss6kz90203:create_node:success :: true

2020-12-28 21:59:08 | [Mutex] waiting for: [node_ss6kz90203:subscribe_node]

2020-12-28 21:59:08 | [Mutex] waiting for: [node_ss6kz90203:subscribe_node]

2020-12-28 21:59:08 | [Mutex] received everything.

2020-12-28 21:59:08 | [Mutex] isItemNotified: node_ss6kz90203:subscribe_node:success :: true

2020-12-28 21:59:08 |


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


2020-12-28 21:59:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-28 21:59:08 | command: <data><node>node_ss6kz90203</node><entry><content>content_kg26sa0204</content></entry></data>

2020-12-28 21:59:08 | target: http://localhost:8088

2020-12-28 21:59:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-28 21:59:08 | entity: <data><node>node_ss6kz90203</node><entry><content>content_kg26sa0204</content></entry></data>

2020-12-28 21:59:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:59:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-28 21:59:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fde4e717-2576-4c42-bef9-50320f785be5</value></item-id></result>

2020-12-28 21:59:08 | contains: true

2020-12-28 21:59:08 | [Mutex] received everything.

2020-12-28 21:59:08 | [Mutex] isItemNotified: user_regular56218v0202@test-domain.com:message:received:content_kg26sa0204 :: true

2020-12-28 21:59:08 |


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


2020-12-28 21:59:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-28 21:59:08 | command: <data><node>node_ss6kz90203</node><expire-at>2020-12-29T05:59:03Z</expire-at><entry><content>content_5n4sb80205</content></entry></data>

2020-12-28 21:59:08 | target: http://localhost:8088

2020-12-28 21:59:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-28 21:59:08 | entity: <data><node>node_ss6kz90203</node><expire-at>2020-12-29T05:59:03Z</expire-at><entry><content>content_5n4sb80205</content></entry></data>

2020-12-28 21:59:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:59:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-28 21:59:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7cf658d4-723e-46d1-96f6-fe6f1c2b91fe</value></item-id></result>

2020-12-28 21:59:08 | contains: true

2020-12-28 21:59:08 | [Mutex] waiting for: [user_regular56218v0202@test-domain.com:message:received:content_5n4sb80205]

2020-12-28 21:59:23 | [Mutex] timeout. Not received [user_regular56218v0202@test-domain.com:message:received:content_5n4sb80205]

2020-12-28 21:59:23 | [Mutex] isItemNotified: user_regular56218v0202@test-domain.com:message:received:content_5n4sb80205 :: false

2020-12-28 21:59:23 |


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


2020-12-28 21:59:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-28 21:59:23 | command: <data><node>node_ss6kz90203</node><entry><content>content_3jisd80206</content></entry></data>

2020-12-28 21:59:23 | target: http://localhost:8088

2020-12-28 21:59:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-28 21:59:23 | entity: <data><node>node_ss6kz90203</node><entry><content>content_3jisd80206</content></entry></data>

2020-12-28 21:59:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:59:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-28 21:59:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>099fcb28-cbdf-4923-8d86-53a5b25ff848</value></item-id></result>

2020-12-28 21:59:23 | contains: true

2020-12-28 21:59:29 | [Mutex] waiting for: [user_regular56218v0202@test-domain.com:message:received:content_3jisd80206]

2020-12-28 21:59:29 | [Mutex] received everything.

2020-12-28 21:59:29 | [Mutex] isItemNotified: user_regular56218v0202@test-domain.com:message:received:content_3jisd80206 :: true

2020-12-28 21:59:29 |


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


2020-12-28 21:59:29 | [Mutex] received everything.

2020-12-28 21:59:29 | [Mutex] isItemNotified: node_ss6kz90203:subscribe_node:success :: true

2020-12-28 21:59:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-28 21:59:29 | command: <data><node>node_ss6kz90203</node><expire-at>2020-12-29T05:59:34Z</expire-at><entry><content>content_o4uhvy0207</content></entry></data>

2020-12-28 21:59:29 | target: http://localhost:8088

2020-12-28 21:59:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-28 21:59:29 | entity: <data><node>node_ss6kz90203</node><expire-at>2020-12-29T05:59:34Z</expire-at><entry><content>content_o4uhvy0207</content></entry></data>

2020-12-28 21:59:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:59:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-28 21:59:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>22270fe2-0a50-436a-b9ec-70ae2f269116</value></item-id></result>

2020-12-28 21:59:29 | contains: true

2020-12-28 21:59:37 | [Mutex] waiting for: [user_regular56218v0202@test-domain.com:message:received:content_o4uhvy0207]

2020-12-28 21:59:52 | [Mutex] timeout. Not received [user_regular56218v0202@test-domain.com:message:received:content_o4uhvy0207]

2020-12-28 21:59:52 | [Mutex] received everything.

2020-12-28 21:59:52 | [Mutex] isItemNotified: user_regular56218v0202@test-domain.com:message:received:content_o4uhvy0207 :: false

2020-12-28 21:59:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o4uhvy0207 :: true