Generated by TestNG with ReportNG at 22:35 PDT on Tuesday 10 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.002s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.582s
2022-05-10 22:49:59 |

2022-05-10 22:49:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-10 22:49:59 | ------------------------------------

2022-05-10 22:49:59 | [Mutex] isItemNotified: node_hx9ltd0204:exists :: false

2022-05-10 22:49:59 | [Mutex] waiting for: [node_hx9ltd0204:create_node]

2022-05-10 22:49:59 | [Mutex] received everything.

2022-05-10 22:49:59 | [Mutex] isItemNotified: node_hx9ltd0204:create_node:success :: true

2022-05-10 22:49:59 | [Mutex] waiting for: [node_hx9ltd0204:subscribe_node]

2022-05-10 22:49:59 | [Mutex] received everything.

2022-05-10 22:49:59 | [Mutex] isItemNotified: node_hx9ltd0204:subscribe_node:success :: true

2022-05-10 22:49:59 |


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


2022-05-10 22:49:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:49:59 | command: <data><node>node_hx9ltd0204</node><entry><content>content_3gzm270205</content></entry></data>

2022-05-10 22:49:59 | target: http://localhost:8088

2022-05-10 22:49:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-10 22:49:59 | entity: <data><node>node_hx9ltd0204</node><entry><content>content_3gzm270205</content></entry></data>

2022-05-10 22:49:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:49:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:49:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d9c60c99-d3f6-4f6d-9225-37d4f9b53b4b</value></item-id></result>

2022-05-10 22:49:59 | contains: true

2022-05-10 22:49:59 | [Mutex] received everything.

2022-05-10 22:49:59 | [Mutex] isItemNotified: user_regularc25sco0203@test-domain.com:message:received:content_3gzm270205 :: true

2022-05-10 22:49:59 |


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


2022-05-10 22:49:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:49:59 | command: <data><node>node_hx9ltd0204</node><expire-at>2022-05-11T05:49:54Z</expire-at><entry><content>content_i6ic8a0206</content></entry></data>

2022-05-10 22:49:59 | target: http://localhost:8088

2022-05-10 22:49:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-10 22:49:59 | entity: <data><node>node_hx9ltd0204</node><expire-at>2022-05-11T05:49:54Z</expire-at><entry><content>content_i6ic8a0206</content></entry></data>

2022-05-10 22:49:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:49:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:49:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6f26c941-8496-45e3-a28e-156a508b1018</value></item-id></result>

2022-05-10 22:49:59 | contains: true

2022-05-10 22:49:59 | [Mutex] waiting for: [user_regularc25sco0203@test-domain.com:message:received:content_i6ic8a0206]

2022-05-10 22:50:14 | [Mutex] timeout. Not received [user_regularc25sco0203@test-domain.com:message:received:content_i6ic8a0206]

2022-05-10 22:50:14 | [Mutex] isItemNotified: user_regularc25sco0203@test-domain.com:message:received:content_i6ic8a0206 :: false

2022-05-10 22:50:14 |


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


2022-05-10 22:50:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:50:14 | command: <data><node>node_hx9ltd0204</node><entry><content>content_p9dcwo0207</content></entry></data>

2022-05-10 22:50:14 | target: http://localhost:8088

2022-05-10 22:50:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-10 22:50:14 | entity: <data><node>node_hx9ltd0204</node><entry><content>content_p9dcwo0207</content></entry></data>

2022-05-10 22:50:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:50:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:50:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e053faae-79d7-422e-990e-2763309d4971</value></item-id></result>

2022-05-10 22:50:14 | contains: true

2022-05-10 22:50:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-10 22:50:20 | [Mutex] waiting for: [user_regularc25sco0203@test-domain.com:message:received:content_p9dcwo0207]

2022-05-10 22:50:20 | [Mutex] received everything.

2022-05-10 22:50:20 | [Mutex] isItemNotified: user_regularc25sco0203@test-domain.com:message:received:content_p9dcwo0207 :: true

2022-05-10 22:50:20 |


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


2022-05-10 22:50:20 | [Mutex] received everything.

2022-05-10 22:50:20 | [Mutex] isItemNotified: node_hx9ltd0204:subscribe_node:success :: true

2022-05-10 22:50:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:50:20 | command: <data><node>node_hx9ltd0204</node><expire-at>2022-05-11T05:50:25Z</expire-at><entry><content>content_105rk40208</content></entry></data>

2022-05-10 22:50:20 | target: http://localhost:8088

2022-05-10 22:50:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-10 22:50:20 | entity: <data><node>node_hx9ltd0204</node><expire-at>2022-05-11T05:50:25Z</expire-at><entry><content>content_105rk40208</content></entry></data>

2022-05-10 22:50:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:50:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:50:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0063aee6-6799-44ba-b84a-6f259dfb4523</value></item-id></result>

2022-05-10 22:50:20 | contains: true

2022-05-10 22:50:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-10 22:50:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-10 22:50:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-10 22:50:28 | [Mutex] waiting for: [user_regularc25sco0203@test-domain.com:message:received:content_105rk40208]

2022-05-10 22:50:43 | [Mutex] timeout. Not received [user_regularc25sco0203@test-domain.com:message:received:content_105rk40208]

2022-05-10 22:50:43 | [Mutex] received everything.

2022-05-10 22:50:43 | [Mutex] isItemNotified: user_regularc25sco0203@test-domain.com:message:received:content_105rk40208 :: false

2022-05-10 22:50:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_105rk40208 :: true