Generated by TestNG with ReportNG at 21:42 PST on Monday 28 December 2020
root@43fec6d4badf / 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.606s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.744s
2020-12-28 21:58:36 |

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

2020-12-28 21:58:36 | ------------------------------------

2020-12-28 21:58:36 | [Mutex] isItemNotified: node_59p6e70203:exists :: false

2020-12-28 21:58:36 | [Mutex] waiting for: [node_59p6e70203:create_node]

2020-12-28 21:58:36 | [Mutex] received everything.

2020-12-28 21:58:36 | [Mutex] isItemNotified: node_59p6e70203:create_node:success :: true

2020-12-28 21:58:36 | [Mutex] waiting for: [node_59p6e70203:subscribe_node]

2020-12-28 21:58:36 | [Mutex] received everything.

2020-12-28 21:58:36 | [Mutex] isItemNotified: node_59p6e70203:subscribe_node:success :: true

2020-12-28 21:58:36 |


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


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

2020-12-28 21:58:36 | command: <data><node>node_59p6e70203</node><entry><content>content_7gfxec0204</content></entry></data>

2020-12-28 21:58:36 | target: http://localhost:8088

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

2020-12-28 21:58:36 | entity: <data><node>node_59p6e70203</node><entry><content>content_7gfxec0204</content></entry></data>

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

2020-12-28 21:58:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>45d57524-3c27-42bf-9e7a-af543a63ea10</value></item-id></result>

2020-12-28 21:58:36 | contains: true

2020-12-28 21:58:36 | [Mutex] received everything.

2020-12-28 21:58:36 | [Mutex] isItemNotified: user_regularadf60o0202@test-domain.com:message:received:content_7gfxec0204 :: true

2020-12-28 21:58:36 |


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


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

2020-12-28 21:58:36 | command: <data><node>node_59p6e70203</node><expire-at>2020-12-29T05:58:31Z</expire-at><entry><content>content_6n1a2c0205</content></entry></data>

2020-12-28 21:58:36 | target: http://localhost:8088

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

2020-12-28 21:58:36 | entity: <data><node>node_59p6e70203</node><expire-at>2020-12-29T05:58:31Z</expire-at><entry><content>content_6n1a2c0205</content></entry></data>

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

2020-12-28 21:58:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8e9583a7-a8b5-4064-b3ef-2c01b78dc880</value></item-id></result>

2020-12-28 21:58:36 | contains: true

2020-12-28 21:58:36 | [Mutex] waiting for: [user_regularadf60o0202@test-domain.com:message:received:content_6n1a2c0205]

2020-12-28 21:58:51 | [Mutex] timeout. Not received [user_regularadf60o0202@test-domain.com:message:received:content_6n1a2c0205]

2020-12-28 21:58:51 | [Mutex] isItemNotified: user_regularadf60o0202@test-domain.com:message:received:content_6n1a2c0205 :: false

2020-12-28 21:58:51 |


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


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

2020-12-28 21:58:51 | command: <data><node>node_59p6e70203</node><entry><content>content_99o2ii0206</content></entry></data>

2020-12-28 21:58:51 | target: http://localhost:8088

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

2020-12-28 21:58:51 | entity: <data><node>node_59p6e70203</node><entry><content>content_99o2ii0206</content></entry></data>

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

2020-12-28 21:58:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>51b641c9-7abd-4437-a03c-563658ea9af2</value></item-id></result>

2020-12-28 21:58:51 | contains: true

2020-12-28 21:58:57 | [Mutex] waiting for: [user_regularadf60o0202@test-domain.com:message:received:content_99o2ii0206]

2020-12-28 21:58:57 | [Mutex] waiting for: [user_regularadf60o0202@test-domain.com:message:received:content_99o2ii0206]

2020-12-28 21:58:57 | [Mutex] received everything.

2020-12-28 21:58:57 | [Mutex] isItemNotified: user_regularadf60o0202@test-domain.com:message:received:content_99o2ii0206 :: true

2020-12-28 21:58:57 |


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


2020-12-28 21:58:57 | [Mutex] received everything.

2020-12-28 21:58:57 | [Mutex] isItemNotified: node_59p6e70203:subscribe_node:success :: true

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

2020-12-28 21:58:57 | command: <data><node>node_59p6e70203</node><expire-at>2020-12-29T05:59:02Z</expire-at><entry><content>content_40oieg0207</content></entry></data>

2020-12-28 21:58:57 | target: http://localhost:8088

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

2020-12-28 21:58:57 | entity: <data><node>node_59p6e70203</node><expire-at>2020-12-29T05:59:02Z</expire-at><entry><content>content_40oieg0207</content></entry></data>

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

2020-12-28 21:58:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3bffc1df-48ed-412c-a571-14931e644f7b</value></item-id></result>

2020-12-28 21:58:57 | contains: true

2020-12-28 21:59:05 | [Mutex] waiting for: [user_regularadf60o0202@test-domain.com:message:received:content_40oieg0207]

2020-12-28 21:59:05 | [Mutex] waiting for: [user_regularadf60o0202@test-domain.com:message:received:content_40oieg0207]

2020-12-28 21:59:20 | [Mutex] timeout. Not received [user_regularadf60o0202@test-domain.com:message:received:content_40oieg0207]

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

2020-12-28 21:59:20 | [Mutex] isItemNotified: user_regularadf60o0202@test-domain.com:message:received:content_40oieg0207 :: false

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