Generated by TestNG with ReportNG at 16:12 PDT on Friday 25 September 2020
root@0a7dacfb9e9e / 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.252s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.733s
2020-09-25 16:30:31 |

2020-09-25 16:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-25 16:30:31 | ------------------------------------

2020-09-25 16:30:31 | [Mutex] isItemNotified: node_de3hwb0203:exists :: false

2020-09-25 16:30:31 | [Mutex] waiting for: [node_de3hwb0203:create_node]

2020-09-25 16:30:31 | [Mutex] received everything.

2020-09-25 16:30:31 | [Mutex] isItemNotified: node_de3hwb0203:create_node:success :: true

2020-09-25 16:30:31 | [Mutex] waiting for: [node_de3hwb0203:subscribe_node]

2020-09-25 16:30:31 | [Mutex] waiting for: [node_de3hwb0203:subscribe_node]

2020-09-25 16:30:31 | [Mutex] received everything.

2020-09-25 16:30:31 | [Mutex] isItemNotified: node_de3hwb0203:subscribe_node:success :: true

2020-09-25 16:30:31 |


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


2020-09-25 16:30:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 16:30:31 | command: <data><node>node_de3hwb0203</node><entry><content>content_8p0brk0204</content></entry></data>

2020-09-25 16:30:31 | target: http://localhost:8088

2020-09-25 16:30:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-25 16:30:31 | entity: <data><node>node_de3hwb0203</node><entry><content>content_8p0brk0204</content></entry></data>

2020-09-25 16:30:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:30:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 16:30:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c5e6ef8a-2a6b-4e95-83a1-e0023df94bf4</value></item-id></result>

2020-09-25 16:30:31 | contains: true

2020-09-25 16:30:31 | [Mutex] received everything.

2020-09-25 16:30:31 | [Mutex] isItemNotified: user_regularze4mtv0202@test-domain.com:message:received:content_8p0brk0204 :: true

2020-09-25 16:30:31 |


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


2020-09-25 16:30:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 16:30:31 | command: <data><node>node_de3hwb0203</node><expire-at>2020-09-25T23:30:26Z</expire-at><entry><content>content_ce79lc0205</content></entry></data>

2020-09-25 16:30:31 | target: http://localhost:8088

2020-09-25 16:30:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-25 16:30:31 | entity: <data><node>node_de3hwb0203</node><expire-at>2020-09-25T23:30:26Z</expire-at><entry><content>content_ce79lc0205</content></entry></data>

2020-09-25 16:30:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:30:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 16:30:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>32e67915-7cf7-4989-9c40-14ee0df866a7</value></item-id></result>

2020-09-25 16:30:31 | contains: true

2020-09-25 16:30:31 | [Mutex] waiting for: [user_regularze4mtv0202@test-domain.com:message:received:content_ce79lc0205]

2020-09-25 16:30:46 | [Mutex] timeout. Not received [user_regularze4mtv0202@test-domain.com:message:received:content_ce79lc0205]

2020-09-25 16:30:46 | [Mutex] isItemNotified: user_regularze4mtv0202@test-domain.com:message:received:content_ce79lc0205 :: false

2020-09-25 16:30:46 |


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


2020-09-25 16:30:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 16:30:46 | command: <data><node>node_de3hwb0203</node><entry><content>content_sjcr10206</content></entry></data>

2020-09-25 16:30:46 | target: http://localhost:8088

2020-09-25 16:30:46 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-09-25 16:30:46 | entity: <data><node>node_de3hwb0203</node><entry><content>content_sjcr10206</content></entry></data>

2020-09-25 16:30:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:30:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 16:30:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2e1ba068-edd6-4ec3-8f1e-fd69adafe04b</value></item-id></result>

2020-09-25 16:30:46 | contains: true

2020-09-25 16:30:52 | [Mutex] waiting for: [user_regularze4mtv0202@test-domain.com:message:received:content_sjcr10206]

2020-09-25 16:30:52 | [Mutex] received everything.

2020-09-25 16:30:52 | [Mutex] isItemNotified: user_regularze4mtv0202@test-domain.com:message:received:content_sjcr10206 :: true

2020-09-25 16:30:52 |


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


2020-09-25 16:30:52 | [Mutex] received everything.

2020-09-25 16:30:52 | [Mutex] isItemNotified: node_de3hwb0203:subscribe_node:success :: true

2020-09-25 16:30:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 16:30:52 | command: <data><node>node_de3hwb0203</node><expire-at>2020-09-25T23:30:57Z</expire-at><entry><content>content_1n95pl0207</content></entry></data>

2020-09-25 16:30:52 | target: http://localhost:8088

2020-09-25 16:30:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-25 16:30:52 | entity: <data><node>node_de3hwb0203</node><expire-at>2020-09-25T23:30:57Z</expire-at><entry><content>content_1n95pl0207</content></entry></data>

2020-09-25 16:30:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:30:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 16:30:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cd4c4262-df35-4e04-bb3e-e4a71240399f</value></item-id></result>

2020-09-25 16:30:52 | contains: true

2020-09-25 16:31:00 | [Mutex] waiting for: [user_regularze4mtv0202@test-domain.com:message:received:content_1n95pl0207]

2020-09-25 16:31:15 | [Mutex] timeout. Not received [user_regularze4mtv0202@test-domain.com:message:received:content_1n95pl0207]

2020-09-25 16:31:15 | [Mutex] received everything.

2020-09-25 16:31:15 | [Mutex] isItemNotified: user_regularze4mtv0202@test-domain.com:message:received:content_1n95pl0207 :: false

2020-09-25 16:31:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1n95pl0207 :: true