Generated by TestNG with ReportNG at 21:29 PST on Monday 16 January 2023
root@7c41cec37518 / 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.831s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.676s
2023-01-16 21:46:14 |

2023-01-16 21:46:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-01-16 21:46:14 | ------------------------------------

2023-01-16 21:46:14 | [Mutex] isItemNotified: node_8fqgv10204:exists :: false

2023-01-16 21:46:14 | [Mutex] waiting for: [node_8fqgv10204:create_node]

2023-01-16 21:46:14 | [Mutex] received everything.

2023-01-16 21:46:14 | [Mutex] isItemNotified: node_8fqgv10204:create_node:success :: true

2023-01-16 21:46:14 | [Mutex] waiting for: [node_8fqgv10204:subscribe_node]

2023-01-16 21:46:14 | [Mutex] waiting for: [node_8fqgv10204:subscribe_node]

2023-01-16 21:46:14 | [Mutex] received everything.

2023-01-16 21:46:14 | [Mutex] isItemNotified: node_8fqgv10204:subscribe_node:success :: true

2023-01-16 21:46:14 |


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


2023-01-16 21:46:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:46:14 | command: <data><node>node_8fqgv10204</node><entry><content>content_n7gl8y0205</content></entry></data>

2023-01-16 21:46:14 | target: http://localhost:8088

2023-01-16 21:46:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 21:46:14 | entity: <data><node>node_8fqgv10204</node><entry><content>content_n7gl8y0205</content></entry></data>

2023-01-16 21:46:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:46:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:46:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc1f8bd8-9c6d-4a3a-ac18-8d9f17f43143</value></item-id></result>

2023-01-16 21:46:14 | contains: true

2023-01-16 21:46:14 | [Mutex] waiting for: [user_regularez2ouv0203@test-domain.com:message:received:content_n7gl8y0205]

2023-01-16 21:46:14 | [Mutex] received everything.

2023-01-16 21:46:14 | [Mutex] isItemNotified: user_regularez2ouv0203@test-domain.com:message:received:content_n7gl8y0205 :: true

2023-01-16 21:46:14 |


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


2023-01-16 21:46:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:46:14 | command: <data><node>node_8fqgv10204</node><expire-at>2023-01-17T05:46:09Z</expire-at><entry><content>content_2z996a0206</content></entry></data>

2023-01-16 21:46:14 | target: http://localhost:8088

2023-01-16 21:46:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 21:46:14 | entity: <data><node>node_8fqgv10204</node><expire-at>2023-01-17T05:46:09Z</expire-at><entry><content>content_2z996a0206</content></entry></data>

2023-01-16 21:46:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:46:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:46:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc57149d-836d-4c17-92de-02fd32a549c4</value></item-id></result>

2023-01-16 21:46:14 | contains: true

2023-01-16 21:46:14 | [Mutex] waiting for: [user_regularez2ouv0203@test-domain.com:message:received:content_2z996a0206]

2023-01-16 21:46:29 | [Mutex] timeout. Not received [user_regularez2ouv0203@test-domain.com:message:received:content_2z996a0206]

2023-01-16 21:46:29 | [Mutex] isItemNotified: user_regularez2ouv0203@test-domain.com:message:received:content_2z996a0206 :: false

2023-01-16 21:46:29 |


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


2023-01-16 21:46:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:46:29 | command: <data><node>node_8fqgv10204</node><entry><content>content_l3htuj0207</content></entry></data>

2023-01-16 21:46:29 | target: http://localhost:8088

2023-01-16 21:46:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 21:46:29 | entity: <data><node>node_8fqgv10204</node><entry><content>content_l3htuj0207</content></entry></data>

2023-01-16 21:46:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:46:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:46:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f74df4d-1c08-4f92-a96b-b54b204c5083</value></item-id></result>

2023-01-16 21:46:29 | contains: true

2023-01-16 21:46:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 21:46:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 21:46:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 21:46:35 | [Mutex] waiting for: [user_regularez2ouv0203@test-domain.com:message:received:content_l3htuj0207]

2023-01-16 21:46:35 | [Mutex] received everything.

2023-01-16 21:46:35 | [Mutex] isItemNotified: user_regularez2ouv0203@test-domain.com:message:received:content_l3htuj0207 :: true

2023-01-16 21:46:35 |


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


2023-01-16 21:46:35 | [Mutex] received everything.

2023-01-16 21:46:35 | [Mutex] isItemNotified: node_8fqgv10204:subscribe_node:success :: true

2023-01-16 21:46:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:46:35 | command: <data><node>node_8fqgv10204</node><expire-at>2023-01-17T05:46:40Z</expire-at><entry><content>content_97yaal0208</content></entry></data>

2023-01-16 21:46:35 | target: http://localhost:8088

2023-01-16 21:46:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 21:46:35 | entity: <data><node>node_8fqgv10204</node><expire-at>2023-01-17T05:46:40Z</expire-at><entry><content>content_97yaal0208</content></entry></data>

2023-01-16 21:46:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:46:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:46:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b1d16b6d-c18a-47b7-ad1d-bfe0023cddc6</value></item-id></result>

2023-01-16 21:46:35 | contains: true

2023-01-16 21:46:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 21:46:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 21:46:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 21:46:43 | [Mutex] waiting for: [user_regularez2ouv0203@test-domain.com:message:received:content_97yaal0208]

2023-01-16 21:46:58 | [Mutex] timeout. Not received [user_regularez2ouv0203@test-domain.com:message:received:content_97yaal0208]

2023-01-16 21:46:58 | [Mutex] received everything.

2023-01-16 21:46:58 | [Mutex] isItemNotified: user_regularez2ouv0203@test-domain.com:message:received:content_97yaal0208 :: false

2023-01-16 21:46:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_97yaal0208 :: true