Generated by TestNG with ReportNG at 22:25 PDT on Tuesday 27 October 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.754s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.774s
2020-10-27 22:40:46 |

2020-10-27 22:40:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-27 22:40:46 | ------------------------------------

2020-10-27 22:40:46 | [Mutex] isItemNotified: node_mamw1l0203:exists :: false

2020-10-27 22:40:46 | [Mutex] waiting for: [node_mamw1l0203:create_node]

2020-10-27 22:40:46 | [Mutex] received everything.

2020-10-27 22:40:46 | [Mutex] isItemNotified: node_mamw1l0203:create_node:success :: true

2020-10-27 22:40:46 | [Mutex] waiting for: [node_mamw1l0203:subscribe_node]

2020-10-27 22:40:46 | [Mutex] received everything.

2020-10-27 22:40:46 | [Mutex] isItemNotified: node_mamw1l0203:subscribe_node:success :: true

2020-10-27 22:40:46 |


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


2020-10-27 22:40:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:40:46 | command: <data><node>node_mamw1l0203</node><entry><content>content_r8iqkk0204</content></entry></data>

2020-10-27 22:40:46 | target: http://localhost:8088

2020-10-27 22:40:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-27 22:40:46 | entity: <data><node>node_mamw1l0203</node><entry><content>content_r8iqkk0204</content></entry></data>

2020-10-27 22:40:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:40:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:40:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9e001597-d160-4ac6-818f-a5c9eb863d24</value></item-id></result>

2020-10-27 22:40:46 | contains: true

2020-10-27 22:40:46 | [Mutex] received everything.

2020-10-27 22:40:46 | [Mutex] isItemNotified: user_regularoovu7x0202@test-domain.com:message:received:content_r8iqkk0204 :: true

2020-10-27 22:40:46 |


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


2020-10-27 22:40:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:40:46 | command: <data><node>node_mamw1l0203</node><expire-at>2020-10-28T05:40:41Z</expire-at><entry><content>content_mx46ai0205</content></entry></data>

2020-10-27 22:40:46 | target: http://localhost:8088

2020-10-27 22:40:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-27 22:40:46 | entity: <data><node>node_mamw1l0203</node><expire-at>2020-10-28T05:40:41Z</expire-at><entry><content>content_mx46ai0205</content></entry></data>

2020-10-27 22:40:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:40:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:40:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>32d69449-1549-49f3-bc2b-a072dc1ff907</value></item-id></result>

2020-10-27 22:40:47 | contains: true

2020-10-27 22:40:47 | [Mutex] waiting for: [user_regularoovu7x0202@test-domain.com:message:received:content_mx46ai0205]

2020-10-27 22:41:02 | [Mutex] timeout. Not received [user_regularoovu7x0202@test-domain.com:message:received:content_mx46ai0205]

2020-10-27 22:41:02 | [Mutex] isItemNotified: user_regularoovu7x0202@test-domain.com:message:received:content_mx46ai0205 :: false

2020-10-27 22:41:02 |


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


2020-10-27 22:41:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:41:02 | command: <data><node>node_mamw1l0203</node><entry><content>content_8vb4ul0206</content></entry></data>

2020-10-27 22:41:02 | target: http://localhost:8088

2020-10-27 22:41:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-27 22:41:02 | entity: <data><node>node_mamw1l0203</node><entry><content>content_8vb4ul0206</content></entry></data>

2020-10-27 22:41:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:41:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:41:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>05914e27-c88b-46eb-8efc-dc9d21bc1ace</value></item-id></result>

2020-10-27 22:41:02 | contains: true

2020-10-27 22:41:07 | [Mutex] waiting for: [user_regularoovu7x0202@test-domain.com:message:received:content_8vb4ul0206]

2020-10-27 22:41:07 | [Mutex] waiting for: [user_regularoovu7x0202@test-domain.com:message:received:content_8vb4ul0206]

2020-10-27 22:41:07 | [Mutex] received everything.

2020-10-27 22:41:07 | [Mutex] isItemNotified: user_regularoovu7x0202@test-domain.com:message:received:content_8vb4ul0206 :: true

2020-10-27 22:41:07 |


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


2020-10-27 22:41:07 | [Mutex] received everything.

2020-10-27 22:41:07 | [Mutex] isItemNotified: node_mamw1l0203:subscribe_node:success :: true

2020-10-27 22:41:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:41:07 | command: <data><node>node_mamw1l0203</node><expire-at>2020-10-28T05:41:12Z</expire-at><entry><content>content_bbdcxr0207</content></entry></data>

2020-10-27 22:41:07 | target: http://localhost:8088

2020-10-27 22:41:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-27 22:41:07 | entity: <data><node>node_mamw1l0203</node><expire-at>2020-10-28T05:41:12Z</expire-at><entry><content>content_bbdcxr0207</content></entry></data>

2020-10-27 22:41:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:41:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:41:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>91a3b85a-577c-4922-89e6-69e13dc10dfd</value></item-id></result>

2020-10-27 22:41:07 | contains: true

2020-10-27 22:41:15 | [Mutex] waiting for: [user_regularoovu7x0202@test-domain.com:message:received:content_bbdcxr0207]

2020-10-27 22:41:30 | [Mutex] timeout. Not received [user_regularoovu7x0202@test-domain.com:message:received:content_bbdcxr0207]

2020-10-27 22:41:30 | [Mutex] received everything.

2020-10-27 22:41:30 | [Mutex] isItemNotified: user_regularoovu7x0202@test-domain.com:message:received:content_bbdcxr0207 :: false

2020-10-27 22:41:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bbdcxr0207 :: true