Generated by TestNG with ReportNG at 00:15 PDT on Saturday 28 October 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.719s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.628s
2023-10-28 00:29:57 |

2023-10-28 00:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-10-28 00:29:57 | ------------------------------------

2023-10-28 00:29:57 | [Mutex] isItemNotified: node_lf4srj0208:exists :: false

2023-10-28 00:29:57 | [Mutex] waiting for: [node_lf4srj0208:create_node]

2023-10-28 00:29:57 | [Mutex] received everything.

2023-10-28 00:29:57 | [Mutex] isItemNotified: node_lf4srj0208:create_node:success :: true

2023-10-28 00:29:57 | [Mutex] waiting for: [node_lf4srj0208:subscribe_node]

2023-10-28 00:29:57 | [Mutex] waiting for: [node_lf4srj0208:subscribe_node]

2023-10-28 00:29:57 | [Mutex] received everything.

2023-10-28 00:29:57 | [Mutex] isItemNotified: node_lf4srj0208:subscribe_node:success :: true

2023-10-28 00:29:57 |


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


2023-10-28 00:29:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-28 00:29:57 | command: <data><node>node_lf4srj0208</node><entry><content>content_eakxyz0209</content></entry></data>

2023-10-28 00:29:57 | target: http://localhost:8088

2023-10-28 00:29:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-10-28 00:29:57 | entity: <data><node>node_lf4srj0208</node><entry><content>content_eakxyz0209</content></entry></data>

2023-10-28 00:29:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:29:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-28 00:29:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>725499f9-1380-4869-a593-e2af7a71d844</value></item-id></result>

2023-10-28 00:29:57 | contains: true

2023-10-28 00:29:57 | [Mutex] waiting for: [user_regulare5g9k80207@test-domain.com:message:received:content_eakxyz0209]

2023-10-28 00:29:57 | [Mutex] received everything.

2023-10-28 00:29:57 | [Mutex] isItemNotified: user_regulare5g9k80207@test-domain.com:message:received:content_eakxyz0209 :: true

2023-10-28 00:29:57 |


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


2023-10-28 00:29:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-28 00:29:57 | command: <data><node>node_lf4srj0208</node><expire-at>2023-10-28T07:29:52Z</expire-at><entry><content>content_67ozg0210</content></entry></data>

2023-10-28 00:29:57 | target: http://localhost:8088

2023-10-28 00:29:57 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-10-28 00:29:57 | entity: <data><node>node_lf4srj0208</node><expire-at>2023-10-28T07:29:52Z</expire-at><entry><content>content_67ozg0210</content></entry></data>

2023-10-28 00:29:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:29:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-28 00:29:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b1ddd14-9d5e-4d39-8ac6-9e64efb22f4e</value></item-id></result>

2023-10-28 00:29:57 | contains: true

2023-10-28 00:29:57 | [Mutex] waiting for: [user_regulare5g9k80207@test-domain.com:message:received:content_67ozg0210]

2023-10-28 00:30:12 | [Mutex] timeout. Not received [user_regulare5g9k80207@test-domain.com:message:received:content_67ozg0210]

2023-10-28 00:30:12 | [Mutex] isItemNotified: user_regulare5g9k80207@test-domain.com:message:received:content_67ozg0210 :: false

2023-10-28 00:30:12 |


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


2023-10-28 00:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-28 00:30:12 | command: <data><node>node_lf4srj0208</node><entry><content>content_10uw2k0211</content></entry></data>

2023-10-28 00:30:12 | target: http://localhost:8088

2023-10-28 00:30:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-10-28 00:30:12 | entity: <data><node>node_lf4srj0208</node><entry><content>content_10uw2k0211</content></entry></data>

2023-10-28 00:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-28 00:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4c948318-7953-4cbe-bab5-8de055a51852</value></item-id></result>

2023-10-28 00:30:12 | contains: true

2023-10-28 00:30:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-10-28 00:30:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-10-28 00:30:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-10-28 00:30:17 | [Mutex] waiting for: [user_regulare5g9k80207@test-domain.com:message:received:content_10uw2k0211]

2023-10-28 00:30:17 | [Mutex] waiting for: [user_regulare5g9k80207@test-domain.com:message:received:content_10uw2k0211]

2023-10-28 00:30:17 | [Mutex] received everything.

2023-10-28 00:30:17 | [Mutex] isItemNotified: user_regulare5g9k80207@test-domain.com:message:received:content_10uw2k0211 :: true

2023-10-28 00:30:17 |


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


2023-10-28 00:30:17 | [Mutex] received everything.

2023-10-28 00:30:17 | [Mutex] isItemNotified: node_lf4srj0208:subscribe_node:success :: true

2023-10-28 00:30:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-28 00:30:17 | command: <data><node>node_lf4srj0208</node><expire-at>2023-10-28T07:30:22Z</expire-at><entry><content>content_ubkfwf0212</content></entry></data>

2023-10-28 00:30:17 | target: http://localhost:8088

2023-10-28 00:30:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-10-28 00:30:17 | entity: <data><node>node_lf4srj0208</node><expire-at>2023-10-28T07:30:22Z</expire-at><entry><content>content_ubkfwf0212</content></entry></data>

2023-10-28 00:30:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:30:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-28 00:30:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>19bade7d-f0e3-42c1-a785-6e9d568805f2</value></item-id></result>

2023-10-28 00:30:17 | contains: true

2023-10-28 00:30:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-10-28 00:30:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-10-28 00:30:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-10-28 00:30:25 | [Mutex] waiting for: [user_regulare5g9k80207@test-domain.com:message:received:content_ubkfwf0212]

2023-10-28 00:30:40 | [Mutex] timeout. Not received [user_regulare5g9k80207@test-domain.com:message:received:content_ubkfwf0212]

2023-10-28 00:30:40 | [Mutex] received everything.

2023-10-28 00:30:40 | [Mutex] isItemNotified: user_regulare5g9k80207@test-domain.com:message:received:content_ubkfwf0212 :: false

2023-10-28 00:30:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ubkfwf0212 :: true