Generated by TestNG with ReportNG at 00:32 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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.576s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.816s
2020-09-18 00:48:19 |

2020-09-18 00:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-18 00:48:19 | ------------------------------------

2020-09-18 00:48:19 | [Mutex] isItemNotified: node_slgibt0203:exists :: false

2020-09-18 00:48:19 | [Mutex] waiting for: [node_slgibt0203:create_node]

2020-09-18 00:48:19 | [Mutex] received everything.

2020-09-18 00:48:19 | [Mutex] isItemNotified: node_slgibt0203:create_node:success :: true

2020-09-18 00:48:19 | [Mutex] waiting for: [node_slgibt0203:subscribe_node]

2020-09-18 00:48:19 | [Mutex] waiting for: [node_slgibt0203:subscribe_node]

2020-09-18 00:48:19 | [Mutex] received everything.

2020-09-18 00:48:19 | [Mutex] isItemNotified: node_slgibt0203:subscribe_node:success :: true

2020-09-18 00:48:19 |


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


2020-09-18 00:48:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 00:48:19 | command: <data><node>node_slgibt0203</node><entry><content>content_35kxkq0204</content></entry></data>

2020-09-18 00:48:19 | target: http://localhost:8088

2020-09-18 00:48:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 00:48:19 | entity: <data><node>node_slgibt0203</node><entry><content>content_35kxkq0204</content></entry></data>

2020-09-18 00:48:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:48:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 00:48:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a4e51f12-980d-4583-bc11-faa891424d87</value></item-id></result>

2020-09-18 00:48:19 | contains: true

2020-09-18 00:48:19 | [Mutex] waiting for: [user_regular6bho8p0202@test-domain.com:message:received:content_35kxkq0204]

2020-09-18 00:48:19 | [Mutex] received everything.

2020-09-18 00:48:19 | [Mutex] isItemNotified: user_regular6bho8p0202@test-domain.com:message:received:content_35kxkq0204 :: true

2020-09-18 00:48:19 |


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


2020-09-18 00:48:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 00:48:19 | command: <data><node>node_slgibt0203</node><expire-at>2020-09-18T07:48:14Z</expire-at><entry><content>content_y3bun20205</content></entry></data>

2020-09-18 00:48:19 | target: http://localhost:8088

2020-09-18 00:48:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 00:48:19 | entity: <data><node>node_slgibt0203</node><expire-at>2020-09-18T07:48:14Z</expire-at><entry><content>content_y3bun20205</content></entry></data>

2020-09-18 00:48:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:48:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 00:48:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0841cc16-61d9-4bb4-90a0-3f094271ad37</value></item-id></result>

2020-09-18 00:48:19 | contains: true

2020-09-18 00:48:19 | [Mutex] waiting for: [user_regular6bho8p0202@test-domain.com:message:received:content_y3bun20205]

2020-09-18 00:48:34 | [Mutex] timeout. Not received [user_regular6bho8p0202@test-domain.com:message:received:content_y3bun20205]

2020-09-18 00:48:34 | [Mutex] isItemNotified: user_regular6bho8p0202@test-domain.com:message:received:content_y3bun20205 :: false

2020-09-18 00:48:34 |


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


2020-09-18 00:48:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 00:48:34 | command: <data><node>node_slgibt0203</node><entry><content>content_6u6xxw0206</content></entry></data>

2020-09-18 00:48:34 | target: http://localhost:8088

2020-09-18 00:48:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 00:48:34 | entity: <data><node>node_slgibt0203</node><entry><content>content_6u6xxw0206</content></entry></data>

2020-09-18 00:48:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:48:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 00:48:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>07ebe0be-13c0-4cac-ad75-8bf5a32f6162</value></item-id></result>

2020-09-18 00:48:34 | contains: true

2020-09-18 00:48:39 | [Mutex] received everything.

2020-09-18 00:48:39 | [Mutex] isItemNotified: user_regular6bho8p0202@test-domain.com:message:received:content_6u6xxw0206 :: true

2020-09-18 00:48:39 |


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


2020-09-18 00:48:39 | [Mutex] received everything.

2020-09-18 00:48:39 | [Mutex] isItemNotified: node_slgibt0203:subscribe_node:success :: true

2020-09-18 00:48:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 00:48:39 | command: <data><node>node_slgibt0203</node><expire-at>2020-09-18T07:48:44Z</expire-at><entry><content>content_6vx34x0207</content></entry></data>

2020-09-18 00:48:39 | target: http://localhost:8088

2020-09-18 00:48:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 00:48:39 | entity: <data><node>node_slgibt0203</node><expire-at>2020-09-18T07:48:44Z</expire-at><entry><content>content_6vx34x0207</content></entry></data>

2020-09-18 00:48:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:48:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 00:48:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3da67db8-dd21-4dd3-ad1f-8deb6b1f080a</value></item-id></result>

2020-09-18 00:48:39 | contains: true

2020-09-18 00:48:48 | [Mutex] waiting for: [user_regular6bho8p0202@test-domain.com:message:received:content_6vx34x0207]

2020-09-18 00:48:48 | [Mutex] waiting for: [user_regular6bho8p0202@test-domain.com:message:received:content_6vx34x0207]

2020-09-18 00:49:03 | [Mutex] timeout. Not received [user_regular6bho8p0202@test-domain.com:message:received:content_6vx34x0207]

2020-09-18 00:49:03 | [Mutex] received everything.

2020-09-18 00:49:03 | [Mutex] isItemNotified: user_regular6bho8p0202@test-domain.com:message:received:content_6vx34x0207 :: false

2020-09-18 00:49:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6vx34x0207 :: true