Generated by TestNG with ReportNG at 07:39 PDT on Friday 26 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.461s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.654s
2022-08-26 07:53:57 |

2022-08-26 07:53:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-26 07:53:57 | ------------------------------------

2022-08-26 07:53:57 | [Mutex] isItemNotified: node_82x7cs0204:exists :: false

2022-08-26 07:53:57 | [Mutex] waiting for: [node_82x7cs0204:create_node]

2022-08-26 07:53:57 | [Mutex] received everything.

2022-08-26 07:53:57 | [Mutex] isItemNotified: node_82x7cs0204:create_node:success :: true

2022-08-26 07:53:57 | [Mutex] waiting for: [node_82x7cs0204:subscribe_node]

2022-08-26 07:53:57 | [Mutex] received everything.

2022-08-26 07:53:57 | [Mutex] isItemNotified: node_82x7cs0204:subscribe_node:success :: true

2022-08-26 07:53:57 |


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


2022-08-26 07:53:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:53:57 | command: <data><node>node_82x7cs0204</node><entry><content>content_wtpwpg0205</content></entry></data>

2022-08-26 07:53:57 | target: http://localhost:8088

2022-08-26 07:53:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-26 07:53:57 | entity: <data><node>node_82x7cs0204</node><entry><content>content_wtpwpg0205</content></entry></data>

2022-08-26 07:53:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:53:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:53:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>756bd7e1-8075-4c4d-8fe8-c5056c7debad</value></item-id></result>

2022-08-26 07:53:57 | contains: true

2022-08-26 07:53:57 | [Mutex] received everything.

2022-08-26 07:53:57 | [Mutex] isItemNotified: user_regularxotc1t0203@test-domain.com:message:received:content_wtpwpg0205 :: true

2022-08-26 07:53:57 |


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


2022-08-26 07:53:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:53:57 | command: <data><node>node_82x7cs0204</node><expire-at>2022-08-26T14:53:52Z</expire-at><entry><content>content_m8sl7a0206</content></entry></data>

2022-08-26 07:53:57 | target: http://localhost:8088

2022-08-26 07:53:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-26 07:53:57 | entity: <data><node>node_82x7cs0204</node><expire-at>2022-08-26T14:53:52Z</expire-at><entry><content>content_m8sl7a0206</content></entry></data>

2022-08-26 07:53:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:53:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:53:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d4e706e8-bacb-4f63-8d90-1fc143ba70bf</value></item-id></result>

2022-08-26 07:53:57 | contains: true

2022-08-26 07:53:57 | [Mutex] waiting for: [user_regularxotc1t0203@test-domain.com:message:received:content_m8sl7a0206]

2022-08-26 07:54:12 | [Mutex] timeout. Not received [user_regularxotc1t0203@test-domain.com:message:received:content_m8sl7a0206]

2022-08-26 07:54:12 | [Mutex] isItemNotified: user_regularxotc1t0203@test-domain.com:message:received:content_m8sl7a0206 :: false

2022-08-26 07:54:12 |


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


2022-08-26 07:54:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:54:12 | command: <data><node>node_82x7cs0204</node><entry><content>content_1nsi7s0207</content></entry></data>

2022-08-26 07:54:12 | target: http://localhost:8088

2022-08-26 07:54:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-26 07:54:12 | entity: <data><node>node_82x7cs0204</node><entry><content>content_1nsi7s0207</content></entry></data>

2022-08-26 07:54:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:54:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:54:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>12bc94b3-3d15-496e-84aa-8799682f1266</value></item-id></result>

2022-08-26 07:54:12 | contains: true

2022-08-26 07:54:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-26 07:54:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-26 07:54:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-26 07:54:17 | [Mutex] waiting for: [user_regularxotc1t0203@test-domain.com:message:received:content_1nsi7s0207]

2022-08-26 07:54:17 | [Mutex] received everything.

2022-08-26 07:54:17 | [Mutex] isItemNotified: user_regularxotc1t0203@test-domain.com:message:received:content_1nsi7s0207 :: true

2022-08-26 07:54:17 |


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


2022-08-26 07:54:17 | [Mutex] received everything.

2022-08-26 07:54:17 | [Mutex] isItemNotified: node_82x7cs0204:subscribe_node:success :: true

2022-08-26 07:54:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:54:17 | command: <data><node>node_82x7cs0204</node><expire-at>2022-08-26T14:54:22Z</expire-at><entry><content>content_f9czcx0208</content></entry></data>

2022-08-26 07:54:17 | target: http://localhost:8088

2022-08-26 07:54:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-26 07:54:17 | entity: <data><node>node_82x7cs0204</node><expire-at>2022-08-26T14:54:22Z</expire-at><entry><content>content_f9czcx0208</content></entry></data>

2022-08-26 07:54:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:54:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:54:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b441fb25-5d8c-4ba6-b5a6-b601325eb14d</value></item-id></result>

2022-08-26 07:54:17 | contains: true

2022-08-26 07:54:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-26 07:54:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-26 07:54:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-26 07:54:25 | [Mutex] waiting for: [user_regularxotc1t0203@test-domain.com:message:received:content_f9czcx0208]

2022-08-26 07:54:25 | [Mutex] waiting for: [user_regularxotc1t0203@test-domain.com:message:received:content_f9czcx0208]

2022-08-26 07:54:40 | [Mutex] timeout. Not received [user_regularxotc1t0203@test-domain.com:message:received:content_f9czcx0208]

2022-08-26 07:54:40 | [Mutex] received everything.

2022-08-26 07:54:40 | [Mutex] isItemNotified: user_regularxotc1t0203@test-domain.com:message:received:content_f9czcx0208 :: false

2022-08-26 07:54:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f9czcx0208 :: true