Generated by TestNG with ReportNG at 21:50 PST on Wednesday 01 February 2023
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.595s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.533s
2023-02-01 22:04:50 |

2023-02-01 22:04:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-01 22:04:50 | ------------------------------------

2023-02-01 22:04:50 | [Mutex] isItemNotified: node_8sbqhb0204:exists :: false

2023-02-01 22:04:50 | [Mutex] waiting for: [node_8sbqhb0204:create_node]

2023-02-01 22:04:50 | [Mutex] received everything.

2023-02-01 22:04:50 | [Mutex] isItemNotified: node_8sbqhb0204:create_node:success :: true

2023-02-01 22:04:50 | [Mutex] waiting for: [node_8sbqhb0204:subscribe_node]

2023-02-01 22:04:50 | [Mutex] waiting for: [node_8sbqhb0204:subscribe_node]

2023-02-01 22:04:50 | [Mutex] received everything.

2023-02-01 22:04:50 | [Mutex] isItemNotified: node_8sbqhb0204:subscribe_node:success :: true

2023-02-01 22:04:50 |


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


2023-02-01 22:04:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-01 22:04:50 | command: <data><node>node_8sbqhb0204</node><entry><content>content_f2qkln0205</content></entry></data>

2023-02-01 22:04:50 | target: http://localhost:8088

2023-02-01 22:04:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-01 22:04:50 | entity: <data><node>node_8sbqhb0204</node><entry><content>content_f2qkln0205</content></entry></data>

2023-02-01 22:04:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 06:04:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-01 22:04:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>88a6fec3-4c04-428c-ade6-7ebda647abcb</value></item-id></result>

2023-02-01 22:04:50 | contains: true

2023-02-01 22:04:50 | [Mutex] received everything.

2023-02-01 22:04:50 | [Mutex] isItemNotified: user_regularrs3hmx0203@test-domain.com:message:received:content_f2qkln0205 :: true

2023-02-01 22:04:50 |


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


2023-02-01 22:04:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-01 22:04:50 | command: <data><node>node_8sbqhb0204</node><expire-at>2023-02-02T06:04:45Z</expire-at><entry><content>content_17qmzr0206</content></entry></data>

2023-02-01 22:04:50 | target: http://localhost:8088

2023-02-01 22:04:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-01 22:04:50 | entity: <data><node>node_8sbqhb0204</node><expire-at>2023-02-02T06:04:45Z</expire-at><entry><content>content_17qmzr0206</content></entry></data>

2023-02-01 22:04:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 06:04:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-01 22:04:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>846ff267-a1ad-420d-a34b-558b23a979be</value></item-id></result>

2023-02-01 22:04:50 | contains: true

2023-02-01 22:04:50 | [Mutex] waiting for: [user_regularrs3hmx0203@test-domain.com:message:received:content_17qmzr0206]

2023-02-01 22:05:05 | [Mutex] timeout. Not received [user_regularrs3hmx0203@test-domain.com:message:received:content_17qmzr0206]

2023-02-01 22:05:05 | [Mutex] isItemNotified: user_regularrs3hmx0203@test-domain.com:message:received:content_17qmzr0206 :: false

2023-02-01 22:05:05 |


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


2023-02-01 22:05:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-01 22:05:05 | command: <data><node>node_8sbqhb0204</node><entry><content>content_8t3zos0207</content></entry></data>

2023-02-01 22:05:05 | target: http://localhost:8088

2023-02-01 22:05:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-01 22:05:05 | entity: <data><node>node_8sbqhb0204</node><entry><content>content_8t3zos0207</content></entry></data>

2023-02-01 22:05:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 06:05:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-01 22:05:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>39cf3ee9-746f-4bb7-b324-559aa78cbc03</value></item-id></result>

2023-02-01 22:05:05 | contains: true

2023-02-01 22:05:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-01 22:05:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-01 22:05:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-01 22:05:10 | [Mutex] waiting for: [user_regularrs3hmx0203@test-domain.com:message:received:content_8t3zos0207]

2023-02-01 22:05:10 | [Mutex] waiting for: [user_regularrs3hmx0203@test-domain.com:message:received:content_8t3zos0207]

2023-02-01 22:05:10 | [Mutex] received everything.

2023-02-01 22:05:10 | [Mutex] isItemNotified: user_regularrs3hmx0203@test-domain.com:message:received:content_8t3zos0207 :: true

2023-02-01 22:05:10 |


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


2023-02-01 22:05:10 | [Mutex] received everything.

2023-02-01 22:05:10 | [Mutex] isItemNotified: node_8sbqhb0204:subscribe_node:success :: true

2023-02-01 22:05:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-01 22:05:10 | command: <data><node>node_8sbqhb0204</node><expire-at>2023-02-02T06:05:15Z</expire-at><entry><content>content_ar5e7h0208</content></entry></data>

2023-02-01 22:05:10 | target: http://localhost:8088

2023-02-01 22:05:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-01 22:05:10 | entity: <data><node>node_8sbqhb0204</node><expire-at>2023-02-02T06:05:15Z</expire-at><entry><content>content_ar5e7h0208</content></entry></data>

2023-02-01 22:05:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 06:05:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-01 22:05:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5940169b-c167-4958-9210-8d7ab42a909c</value></item-id></result>

2023-02-01 22:05:10 | contains: true

2023-02-01 22:05:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-01 22:05:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-01 22:05:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-01 22:05:18 | [Mutex] waiting for: [user_regularrs3hmx0203@test-domain.com:message:received:content_ar5e7h0208]

2023-02-01 22:05:33 | [Mutex] timeout. Not received [user_regularrs3hmx0203@test-domain.com:message:received:content_ar5e7h0208]

2023-02-01 22:05:33 | [Mutex] received everything.

2023-02-01 22:05:33 | [Mutex] isItemNotified: user_regularrs3hmx0203@test-domain.com:message:received:content_ar5e7h0208 :: false

2023-02-01 22:05:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ar5e7h0208 :: true