Generated by TestNG with ReportNG at 21:14 PST on Monday 27 February 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.775s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.629s
2023-02-27 21:29:16 |

2023-02-27 21:29:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-27 21:29:16 | ------------------------------------

2023-02-27 21:29:16 | [Mutex] isItemNotified: node_azarfa0204:exists :: false

2023-02-27 21:29:16 | [Mutex] waiting for: [node_azarfa0204:create_node]

2023-02-27 21:29:16 | [Mutex] received everything.

2023-02-27 21:29:16 | [Mutex] isItemNotified: node_azarfa0204:create_node:success :: true

2023-02-27 21:29:16 | [Mutex] waiting for: [node_azarfa0204:subscribe_node]

2023-02-27 21:29:16 | [Mutex] received everything.

2023-02-27 21:29:16 | [Mutex] isItemNotified: node_azarfa0204:subscribe_node:success :: true

2023-02-27 21:29:16 |


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


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

2023-02-27 21:29:16 | command: <data><node>node_azarfa0204</node><entry><content>content_aknpw20205</content></entry></data>

2023-02-27 21:29:16 | target: http://localhost:8088

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

2023-02-27 21:29:16 | entity: <data><node>node_azarfa0204</node><entry><content>content_aknpw20205</content></entry></data>

2023-02-27 21:29:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:29:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:29:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a7b3e68a-b959-446b-8912-6f5fb31947da</value></item-id></result>

2023-02-27 21:29:16 | contains: true

2023-02-27 21:29:16 | [Mutex] received everything.

2023-02-27 21:29:16 | [Mutex] isItemNotified: user_regular1xisbo0203@test-domain.com:message:received:content_aknpw20205 :: true

2023-02-27 21:29:16 |


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


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

2023-02-27 21:29:16 | command: <data><node>node_azarfa0204</node><expire-at>2023-02-28T05:29:11Z</expire-at><entry><content>content_njcnxo0206</content></entry></data>

2023-02-27 21:29:16 | target: http://localhost:8088

2023-02-27 21:29:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-27 21:29:16 | entity: <data><node>node_azarfa0204</node><expire-at>2023-02-28T05:29:11Z</expire-at><entry><content>content_njcnxo0206</content></entry></data>

2023-02-27 21:29:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:29:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:29:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c9456652-6f8f-4a29-aa14-562d53214370</value></item-id></result>

2023-02-27 21:29:16 | contains: true

2023-02-27 21:29:16 | [Mutex] waiting for: [user_regular1xisbo0203@test-domain.com:message:received:content_njcnxo0206]

2023-02-27 21:29:31 | [Mutex] timeout. Not received [user_regular1xisbo0203@test-domain.com:message:received:content_njcnxo0206]

2023-02-27 21:29:31 | [Mutex] isItemNotified: user_regular1xisbo0203@test-domain.com:message:received:content_njcnxo0206 :: false

2023-02-27 21:29:31 |


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


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

2023-02-27 21:29:32 | command: <data><node>node_azarfa0204</node><entry><content>content_kz20zv0207</content></entry></data>

2023-02-27 21:29:32 | target: http://localhost:8088

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

2023-02-27 21:29:32 | entity: <data><node>node_azarfa0204</node><entry><content>content_kz20zv0207</content></entry></data>

2023-02-27 21:29:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:29:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:29:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0b9cefc8-584f-4560-a6f2-3716416afe8d</value></item-id></result>

2023-02-27 21:29:32 | contains: true

2023-02-27 21:29:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-27 21:29:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-27 21:29:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-27 21:29:37 | [Mutex] waiting for: [user_regular1xisbo0203@test-domain.com:message:received:content_kz20zv0207]

2023-02-27 21:29:37 | [Mutex] waiting for: [user_regular1xisbo0203@test-domain.com:message:received:content_kz20zv0207]

2023-02-27 21:29:37 | [Mutex] received everything.

2023-02-27 21:29:37 | [Mutex] isItemNotified: user_regular1xisbo0203@test-domain.com:message:received:content_kz20zv0207 :: true

2023-02-27 21:29:37 |


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


2023-02-27 21:29:37 | [Mutex] received everything.

2023-02-27 21:29:37 | [Mutex] isItemNotified: node_azarfa0204:subscribe_node:success :: true

2023-02-27 21:29:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:29:37 | command: <data><node>node_azarfa0204</node><expire-at>2023-02-28T05:29:42Z</expire-at><entry><content>content_9799m10208</content></entry></data>

2023-02-27 21:29:37 | target: http://localhost:8088

2023-02-27 21:29:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-27 21:29:37 | entity: <data><node>node_azarfa0204</node><expire-at>2023-02-28T05:29:42Z</expire-at><entry><content>content_9799m10208</content></entry></data>

2023-02-27 21:29:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:29:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:29:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>32725dbf-8e60-420a-8d27-3f9ee68d0e0b</value></item-id></result>

2023-02-27 21:29:37 | contains: true

2023-02-27 21:29:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-27 21:29:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-27 21:29:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-27 21:29:45 | [Mutex] waiting for: [user_regular1xisbo0203@test-domain.com:message:received:content_9799m10208]

2023-02-27 21:29:45 | [Mutex] waiting for: [user_regular1xisbo0203@test-domain.com:message:received:content_9799m10208]

2023-02-27 21:29:45 | [Mutex] waiting for: [user_regular1xisbo0203@test-domain.com:message:received:content_9799m10208]

2023-02-27 21:30:00 | [Mutex] timeout. Not received [user_regular1xisbo0203@test-domain.com:message:received:content_9799m10208]

2023-02-27 21:30:00 | [Mutex] received everything.

2023-02-27 21:30:00 | [Mutex] isItemNotified: user_regular1xisbo0203@test-domain.com:message:received:content_9799m10208 :: false

2023-02-27 21:30:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9799m10208 :: true