Generated by TestNG with ReportNG at 22:51 PDT on Tuesday 29 September 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.070s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.632s
2020-09-29 23:06:36 |

2020-09-29 23:06:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-29 23:06:36 | ------------------------------------

2020-09-29 23:06:36 | [Mutex] isItemNotified: node_197afm0203:exists :: false

2020-09-29 23:06:36 | [Mutex] waiting for: [node_197afm0203:create_node]

2020-09-29 23:06:36 | [Mutex] received everything.

2020-09-29 23:06:36 | [Mutex] isItemNotified: node_197afm0203:create_node:success :: true

2020-09-29 23:06:36 | [Mutex] waiting for: [node_197afm0203:subscribe_node]

2020-09-29 23:06:36 | [Mutex] waiting for: [node_197afm0203:subscribe_node]

2020-09-29 23:06:36 | [Mutex] received everything.

2020-09-29 23:06:36 | [Mutex] isItemNotified: node_197afm0203:subscribe_node:success :: true

2020-09-29 23:06:36 |


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


2020-09-29 23:06:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 23:06:36 | command: <data><node>node_197afm0203</node><entry><content>content_5gxq4t0204</content></entry></data>

2020-09-29 23:06:36 | target: http://localhost:8088

2020-09-29 23:06:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-29 23:06:36 | entity: <data><node>node_197afm0203</node><entry><content>content_5gxq4t0204</content></entry></data>

2020-09-29 23:06:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 06:06:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 23:06:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4634ed43-db0c-4391-88d4-61b01afaa834</value></item-id></result>

2020-09-29 23:06:36 | contains: true

2020-09-29 23:06:36 | [Mutex] received everything.

2020-09-29 23:06:36 | [Mutex] isItemNotified: user_regularr4yx3f0202@test-domain.com:message:received:content_5gxq4t0204 :: true

2020-09-29 23:06:36 |


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


2020-09-29 23:06:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 23:06:36 | command: <data><node>node_197afm0203</node><expire-at>2020-09-30T06:06:31Z</expire-at><entry><content>content_dzzmsp0205</content></entry></data>

2020-09-29 23:06:36 | target: http://localhost:8088

2020-09-29 23:06:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-29 23:06:36 | entity: <data><node>node_197afm0203</node><expire-at>2020-09-30T06:06:31Z</expire-at><entry><content>content_dzzmsp0205</content></entry></data>

2020-09-29 23:06:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 06:06:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 23:06:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>491f5d24-0f2c-47f4-a7ba-361768e09344</value></item-id></result>

2020-09-29 23:06:36 | contains: true

2020-09-29 23:06:36 | [Mutex] waiting for: [user_regularr4yx3f0202@test-domain.com:message:received:content_dzzmsp0205]

2020-09-29 23:06:51 | [Mutex] timeout. Not received [user_regularr4yx3f0202@test-domain.com:message:received:content_dzzmsp0205]

2020-09-29 23:06:51 | [Mutex] isItemNotified: user_regularr4yx3f0202@test-domain.com:message:received:content_dzzmsp0205 :: false

2020-09-29 23:06:51 |


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


2020-09-29 23:06:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 23:06:51 | command: <data><node>node_197afm0203</node><entry><content>content_v75lnl0206</content></entry></data>

2020-09-29 23:06:51 | target: http://localhost:8088

2020-09-29 23:06:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-29 23:06:51 | entity: <data><node>node_197afm0203</node><entry><content>content_v75lnl0206</content></entry></data>

2020-09-29 23:06:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 06:06:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 23:06:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e1314580-d671-4251-9063-b6d5e0fab48d</value></item-id></result>

2020-09-29 23:06:51 | contains: true

2020-09-29 23:06:56 | [Mutex] waiting for: [user_regularr4yx3f0202@test-domain.com:message:received:content_v75lnl0206]

2020-09-29 23:06:56 | [Mutex] received everything.

2020-09-29 23:06:56 | [Mutex] isItemNotified: user_regularr4yx3f0202@test-domain.com:message:received:content_v75lnl0206 :: true

2020-09-29 23:06:56 |


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


2020-09-29 23:06:56 | [Mutex] received everything.

2020-09-29 23:06:56 | [Mutex] isItemNotified: node_197afm0203:subscribe_node:success :: true

2020-09-29 23:06:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 23:06:56 | command: <data><node>node_197afm0203</node><expire-at>2020-09-30T06:07:01Z</expire-at><entry><content>content_ns7gwe0207</content></entry></data>

2020-09-29 23:06:56 | target: http://localhost:8088

2020-09-29 23:06:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-29 23:06:56 | entity: <data><node>node_197afm0203</node><expire-at>2020-09-30T06:07:01Z</expire-at><entry><content>content_ns7gwe0207</content></entry></data>

2020-09-29 23:06:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 06:06:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 23:06:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bd760b7b-e610-4440-9a8a-bf8d267d0a76</value></item-id></result>

2020-09-29 23:06:56 | contains: true

2020-09-29 23:07:05 | [Mutex] waiting for: [user_regularr4yx3f0202@test-domain.com:message:received:content_ns7gwe0207]

2020-09-29 23:07:20 | [Mutex] timeout. Not received [user_regularr4yx3f0202@test-domain.com:message:received:content_ns7gwe0207]

2020-09-29 23:07:20 | [Mutex] received everything.

2020-09-29 23:07:20 | [Mutex] isItemNotified: user_regularr4yx3f0202@test-domain.com:message:received:content_ns7gwe0207 :: false

2020-09-29 23:07:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ns7gwe0207 :: true