Generated by TestNG with ReportNG at 21:18 PST on Monday 14 November 2022
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.811s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.698s
2022-11-14 21:32:52 |

2022-11-14 21:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-11-14 21:32:52 | ------------------------------------

2022-11-14 21:32:52 | [Mutex] isItemNotified: node_ljz61r0204:exists :: false

2022-11-14 21:32:52 | [Mutex] waiting for: [node_ljz61r0204:create_node]

2022-11-14 21:32:52 | [Mutex] received everything.

2022-11-14 21:32:52 | [Mutex] isItemNotified: node_ljz61r0204:create_node:success :: true

2022-11-14 21:32:52 | [Mutex] waiting for: [node_ljz61r0204:subscribe_node]

2022-11-14 21:32:52 | [Mutex] waiting for: [node_ljz61r0204:subscribe_node]

2022-11-14 21:32:52 | [Mutex] received everything.

2022-11-14 21:32:52 | [Mutex] isItemNotified: node_ljz61r0204:subscribe_node:success :: true

2022-11-14 21:32:52 |


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


2022-11-14 21:32:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-14 21:32:52 | command: <data><node>node_ljz61r0204</node><entry><content>content_4sakog0205</content></entry></data>

2022-11-14 21:32:52 | target: http://localhost:8088

2022-11-14 21:32:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-14 21:32:52 | entity: <data><node>node_ljz61r0204</node><entry><content>content_4sakog0205</content></entry></data>

2022-11-14 21:32:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 05:32:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-14 21:32:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3cf6f1c-ae3f-4462-af12-961a248ccab7</value></item-id></result>

2022-11-14 21:32:52 | contains: true

2022-11-14 21:32:52 | [Mutex] received everything.

2022-11-14 21:32:52 | [Mutex] isItemNotified: user_regularr2rs5b0203@test-domain.com:message:received:content_4sakog0205 :: true

2022-11-14 21:32:52 |


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


2022-11-14 21:32:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-14 21:32:52 | command: <data><node>node_ljz61r0204</node><expire-at>2022-11-15T05:32:47Z</expire-at><entry><content>content_cf1nts0206</content></entry></data>

2022-11-14 21:32:52 | target: http://localhost:8088

2022-11-14 21:32:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-14 21:32:52 | entity: <data><node>node_ljz61r0204</node><expire-at>2022-11-15T05:32:47Z</expire-at><entry><content>content_cf1nts0206</content></entry></data>

2022-11-14 21:32:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 05:32:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-14 21:32:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8232ab25-c90a-4fab-a7fb-01ccdc17d22d</value></item-id></result>

2022-11-14 21:32:52 | contains: true

2022-11-14 21:32:52 | [Mutex] waiting for: [user_regularr2rs5b0203@test-domain.com:message:received:content_cf1nts0206]

2022-11-14 21:33:07 | [Mutex] timeout. Not received [user_regularr2rs5b0203@test-domain.com:message:received:content_cf1nts0206]

2022-11-14 21:33:07 | [Mutex] isItemNotified: user_regularr2rs5b0203@test-domain.com:message:received:content_cf1nts0206 :: false

2022-11-14 21:33:07 |


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


2022-11-14 21:33:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-14 21:33:07 | command: <data><node>node_ljz61r0204</node><entry><content>content_sotvdg0207</content></entry></data>

2022-11-14 21:33:07 | target: http://localhost:8088

2022-11-14 21:33:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-14 21:33:07 | entity: <data><node>node_ljz61r0204</node><entry><content>content_sotvdg0207</content></entry></data>

2022-11-14 21:33:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 05:33:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-14 21:33:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1d9cf906-9edc-4dca-abbf-35f27d62ccee</value></item-id></result>

2022-11-14 21:33:07 | contains: true

2022-11-14 21:33:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-14 21:33:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-11-14 21:33:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-14 21:33:12 | [Mutex] waiting for: [user_regularr2rs5b0203@test-domain.com:message:received:content_sotvdg0207]

2022-11-14 21:33:12 | [Mutex] waiting for: [user_regularr2rs5b0203@test-domain.com:message:received:content_sotvdg0207]

2022-11-14 21:33:12 | [Mutex] received everything.

2022-11-14 21:33:12 | [Mutex] isItemNotified: user_regularr2rs5b0203@test-domain.com:message:received:content_sotvdg0207 :: true

2022-11-14 21:33:12 |


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


2022-11-14 21:33:12 | [Mutex] received everything.

2022-11-14 21:33:12 | [Mutex] isItemNotified: node_ljz61r0204:subscribe_node:success :: true

2022-11-14 21:33:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-14 21:33:13 | command: <data><node>node_ljz61r0204</node><expire-at>2022-11-15T05:33:18Z</expire-at><entry><content>content_b1gb4f0208</content></entry></data>

2022-11-14 21:33:13 | target: http://localhost:8088

2022-11-14 21:33:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-14 21:33:13 | entity: <data><node>node_ljz61r0204</node><expire-at>2022-11-15T05:33:18Z</expire-at><entry><content>content_b1gb4f0208</content></entry></data>

2022-11-14 21:33:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 05:33:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-14 21:33:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29540850-4b4d-4238-aabc-33584bec930b</value></item-id></result>

2022-11-14 21:33:13 | contains: true

2022-11-14 21:33:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-14 21:33:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-11-14 21:33:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-14 21:33:21 | [Mutex] waiting for: [user_regularr2rs5b0203@test-domain.com:message:received:content_b1gb4f0208]

2022-11-14 21:33:36 | [Mutex] timeout. Not received [user_regularr2rs5b0203@test-domain.com:message:received:content_b1gb4f0208]

2022-11-14 21:33:36 | [Mutex] received everything.

2022-11-14 21:33:36 | [Mutex] isItemNotified: user_regularr2rs5b0203@test-domain.com:message:received:content_b1gb4f0208 :: false

2022-11-14 21:33:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b1gb4f0208 :: true