Generated by TestNG with ReportNG at 15:18 PST on Friday 24 February 2023
root@f9c07ffec79b / 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.766s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.568s
2023-02-24 15:32:29 |

2023-02-24 15:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-24 15:32:29 | ------------------------------------

2023-02-24 15:32:29 | [Mutex] isItemNotified: node_vuktya0204:exists :: false

2023-02-24 15:32:29 | [Mutex] waiting for: [node_vuktya0204:create_node]

2023-02-24 15:32:29 | [Mutex] waiting for: [node_vuktya0204:create_node]

2023-02-24 15:32:29 | [Mutex] received everything.

2023-02-24 15:32:29 | [Mutex] isItemNotified: node_vuktya0204:create_node:success :: true

2023-02-24 15:32:29 | [Mutex] waiting for: [node_vuktya0204:subscribe_node]

2023-02-24 15:32:29 | [Mutex] waiting for: [node_vuktya0204:subscribe_node]

2023-02-24 15:32:29 | [Mutex] received everything.

2023-02-24 15:32:29 | [Mutex] isItemNotified: node_vuktya0204:subscribe_node:success :: true

2023-02-24 15:32:29 |


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


2023-02-24 15:32:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 15:32:29 | command: <data><node>node_vuktya0204</node><entry><content>content_f0kbsn0205</content></entry></data>

2023-02-24 15:32:29 | target: http://localhost:8088

2023-02-24 15:32:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-24 15:32:29 | entity: <data><node>node_vuktya0204</node><entry><content>content_f0kbsn0205</content></entry></data>

2023-02-24 15:32:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Feb 2023 23:32:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 15:32:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>41f1f616-2a03-49c1-a3eb-a33f170a8f6b</value></item-id></result>

2023-02-24 15:32:29 | contains: true

2023-02-24 15:32:29 | [Mutex] received everything.

2023-02-24 15:32:29 | [Mutex] isItemNotified: user_regular1crooe0203@test-domain.com:message:received:content_f0kbsn0205 :: true

2023-02-24 15:32:29 |


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


2023-02-24 15:32:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 15:32:29 | command: <data><node>node_vuktya0204</node><expire-at>2023-02-24T23:32:24Z</expire-at><entry><content>content_pzzt3i0206</content></entry></data>

2023-02-24 15:32:29 | target: http://localhost:8088

2023-02-24 15:32:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-24 15:32:29 | entity: <data><node>node_vuktya0204</node><expire-at>2023-02-24T23:32:24Z</expire-at><entry><content>content_pzzt3i0206</content></entry></data>

2023-02-24 15:32:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Feb 2023 23:32:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 15:32:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c363068-0757-426c-9be2-ea269ea85f1b</value></item-id></result>

2023-02-24 15:32:29 | contains: true

2023-02-24 15:32:29 | [Mutex] waiting for: [user_regular1crooe0203@test-domain.com:message:received:content_pzzt3i0206]

2023-02-24 15:32:44 | [Mutex] timeout. Not received [user_regular1crooe0203@test-domain.com:message:received:content_pzzt3i0206]

2023-02-24 15:32:44 | [Mutex] isItemNotified: user_regular1crooe0203@test-domain.com:message:received:content_pzzt3i0206 :: false

2023-02-24 15:32:44 |


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


2023-02-24 15:32:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 15:32:44 | command: <data><node>node_vuktya0204</node><entry><content>content_5t7l6r0207</content></entry></data>

2023-02-24 15:32:44 | target: http://localhost:8088

2023-02-24 15:32:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-24 15:32:44 | entity: <data><node>node_vuktya0204</node><entry><content>content_5t7l6r0207</content></entry></data>

2023-02-24 15:32:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Feb 2023 23:32:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 15:32:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>092bffb3-48fd-4882-a5c5-406f3dca6bd3</value></item-id></result>

2023-02-24 15:32:44 | contains: true

2023-02-24 15:32:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-24 15:32:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-24 15:32:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-24 15:32:50 | [Mutex] waiting for: [user_regular1crooe0203@test-domain.com:message:received:content_5t7l6r0207]

2023-02-24 15:32:50 | [Mutex] waiting for: [user_regular1crooe0203@test-domain.com:message:received:content_5t7l6r0207]

2023-02-24 15:32:50 | [Mutex] received everything.

2023-02-24 15:32:50 | [Mutex] isItemNotified: user_regular1crooe0203@test-domain.com:message:received:content_5t7l6r0207 :: true

2023-02-24 15:32:50 |


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


2023-02-24 15:32:50 | [Mutex] received everything.

2023-02-24 15:32:50 | [Mutex] isItemNotified: node_vuktya0204:subscribe_node:success :: true

2023-02-24 15:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 15:32:50 | command: <data><node>node_vuktya0204</node><expire-at>2023-02-24T23:32:55Z</expire-at><entry><content>content_vmlz9y0208</content></entry></data>

2023-02-24 15:32:50 | target: http://localhost:8088

2023-02-24 15:32:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-24 15:32:50 | entity: <data><node>node_vuktya0204</node><expire-at>2023-02-24T23:32:55Z</expire-at><entry><content>content_vmlz9y0208</content></entry></data>

2023-02-24 15:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Feb 2023 23:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 15:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>59845e98-4c59-4e21-893d-2c25a1162f68</value></item-id></result>

2023-02-24 15:32:50 | contains: true

2023-02-24 15:32:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-24 15:32:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-24 15:32:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-24 15:32:58 | [Mutex] waiting for: [user_regular1crooe0203@test-domain.com:message:received:content_vmlz9y0208]

2023-02-24 15:33:13 | [Mutex] timeout. Not received [user_regular1crooe0203@test-domain.com:message:received:content_vmlz9y0208]

2023-02-24 15:33:13 | [Mutex] received everything.

2023-02-24 15:33:13 | [Mutex] isItemNotified: user_regular1crooe0203@test-domain.com:message:received:content_vmlz9y0208 :: false

2023-02-24 15:33:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vmlz9y0208 :: true