Generated by TestNG with ReportNG at 22:55 PDT on Thursday 24 March 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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 : 44.685s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.646s
2022-03-24 23:09:13 |

2022-03-24 23:09:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-03-24 23:09:13 | ------------------------------------

2022-03-24 23:09:13 | [Mutex] isItemNotified: node_q1anm50202:exists :: false

2022-03-24 23:09:13 | [Mutex] waiting for: [node_q1anm50202:create_node]

2022-03-24 23:09:13 | [Mutex] waiting for: [node_q1anm50202:create_node]

2022-03-24 23:09:13 | [Mutex] received everything.

2022-03-24 23:09:13 | [Mutex] isItemNotified: node_q1anm50202:create_node:success :: true

2022-03-24 23:09:13 | [Mutex] waiting for: [node_q1anm50202:subscribe_node]

2022-03-24 23:09:13 | [Mutex] waiting for: [node_q1anm50202:subscribe_node]

2022-03-24 23:09:13 | [Mutex] received everything.

2022-03-24 23:09:13 | [Mutex] isItemNotified: node_q1anm50202:subscribe_node:success :: true

2022-03-24 23:09:13 |


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


2022-03-24 23:09:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-24 23:09:13 | command: <data><node>node_q1anm50202</node><entry><content>content_s2fg3w0203</content></entry></data>

2022-03-24 23:09:13 | target: http://localhost:8088

2022-03-24 23:09:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-24 23:09:13 | entity: <data><node>node_q1anm50202</node><entry><content>content_s2fg3w0203</content></entry></data>

2022-03-24 23:09:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 06:09:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-24 23:09:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ee086bd8-f984-461f-b3c3-c110f4cbfa49</value></item-id></result>

2022-03-24 23:09:13 | contains: true

2022-03-24 23:09:13 | [Mutex] received everything.

2022-03-24 23:09:13 | [Mutex] isItemNotified: user_regularbqfkyo0201@test-domain.com:message:received:content_s2fg3w0203 :: true

2022-03-24 23:09:13 |


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


2022-03-24 23:09:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-24 23:09:13 | command: <data><node>node_q1anm50202</node><expire-at>2022-03-25T06:09:08Z</expire-at><entry><content>content_tqt4n10204</content></entry></data>

2022-03-24 23:09:13 | target: http://localhost:8088

2022-03-24 23:09:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-24 23:09:13 | entity: <data><node>node_q1anm50202</node><expire-at>2022-03-25T06:09:08Z</expire-at><entry><content>content_tqt4n10204</content></entry></data>

2022-03-24 23:09:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 06:09:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-24 23:09:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ae2828da-313b-413e-8689-6096e877b648</value></item-id></result>

2022-03-24 23:09:14 | contains: true

2022-03-24 23:09:14 | [Mutex] waiting for: [user_regularbqfkyo0201@test-domain.com:message:received:content_tqt4n10204]

2022-03-24 23:09:29 | [Mutex] timeout. Not received [user_regularbqfkyo0201@test-domain.com:message:received:content_tqt4n10204]

2022-03-24 23:09:29 | [Mutex] isItemNotified: user_regularbqfkyo0201@test-domain.com:message:received:content_tqt4n10204 :: false

2022-03-24 23:09:29 |


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


2022-03-24 23:09:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-24 23:09:29 | command: <data><node>node_q1anm50202</node><entry><content>content_9q5wj0205</content></entry></data>

2022-03-24 23:09:29 | target: http://localhost:8088

2022-03-24 23:09:29 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-03-24 23:09:29 | entity: <data><node>node_q1anm50202</node><entry><content>content_9q5wj0205</content></entry></data>

2022-03-24 23:09:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 06:09:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-24 23:09:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>17cc6766-b01d-4e8a-a4ca-b4559bca73c2</value></item-id></result>

2022-03-24 23:09:29 | contains: true

2022-03-24 23:09:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-03-24 23:09:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] DNS entry stored in session object: localhost:5222

2022-03-24 23:09:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-03-24 23:09:34 | [Mutex] waiting for: [user_regularbqfkyo0201@test-domain.com:message:received:content_9q5wj0205]

2022-03-24 23:09:34 | [Mutex] received everything.

2022-03-24 23:09:34 | [Mutex] isItemNotified: user_regularbqfkyo0201@test-domain.com:message:received:content_9q5wj0205 :: true

2022-03-24 23:09:34 |


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


2022-03-24 23:09:34 | [Mutex] received everything.

2022-03-24 23:09:34 | [Mutex] isItemNotified: node_q1anm50202:subscribe_node:success :: true

2022-03-24 23:09:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-24 23:09:34 | command: <data><node>node_q1anm50202</node><expire-at>2022-03-25T06:09:39Z</expire-at><entry><content>content_gymp5x0206</content></entry></data>

2022-03-24 23:09:34 | target: http://localhost:8088

2022-03-24 23:09:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-24 23:09:34 | entity: <data><node>node_q1anm50202</node><expire-at>2022-03-25T06:09:39Z</expire-at><entry><content>content_gymp5x0206</content></entry></data>

2022-03-24 23:09:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 06:09:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-24 23:09:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9218c9bf-b400-4a6d-b52a-702731139d71</value></item-id></result>

2022-03-24 23:09:34 | contains: true

2022-03-24 23:09:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-03-24 23:09:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-03-24 23:09:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-03-24 23:09:42 | [Mutex] waiting for: [user_regularbqfkyo0201@test-domain.com:message:received:content_gymp5x0206]

2022-03-24 23:09:42 | [Mutex] waiting for: [user_regularbqfkyo0201@test-domain.com:message:received:content_gymp5x0206]

2022-03-24 23:09:57 | [Mutex] timeout. Not received [user_regularbqfkyo0201@test-domain.com:message:received:content_gymp5x0206]

2022-03-24 23:09:57 | [Mutex] received everything.

2022-03-24 23:09:57 | [Mutex] isItemNotified: user_regularbqfkyo0201@test-domain.com:message:received:content_gymp5x0206 :: false

2022-03-24 23:09:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gymp5x0206 :: true