Generated by TestNG with ReportNG at 22:50 PDT on Friday 01 July 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.812s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.608s
2022-07-01 23:06:25 |

2022-07-01 23:06:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-01 23:06:25 | ------------------------------------

2022-07-01 23:06:25 | [Mutex] isItemNotified: node_m4i03k0204:exists :: false

2022-07-01 23:06:25 | [Mutex] waiting for: [node_m4i03k0204:create_node]

2022-07-01 23:06:25 | [Mutex] received everything.

2022-07-01 23:06:25 | [Mutex] isItemNotified: node_m4i03k0204:create_node:success :: true

2022-07-01 23:06:25 | [Mutex] waiting for: [node_m4i03k0204:subscribe_node]

2022-07-01 23:06:25 | [Mutex] waiting for: [node_m4i03k0204:subscribe_node]

2022-07-01 23:06:25 | [Mutex] received everything.

2022-07-01 23:06:25 | [Mutex] isItemNotified: node_m4i03k0204:subscribe_node:success :: true

2022-07-01 23:06:25 |


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


2022-07-01 23:06:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-01 23:06:25 | command: <data><node>node_m4i03k0204</node><entry><content>content_6p8efd0205</content></entry></data>

2022-07-01 23:06:25 | target: http://localhost:8088

2022-07-01 23:06:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-01 23:06:25 | entity: <data><node>node_m4i03k0204</node><entry><content>content_6p8efd0205</content></entry></data>

2022-07-01 23:06:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 06:06:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-01 23:06:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b4f709a5-2809-40da-9302-2bd75b2ee303</value></item-id></result>

2022-07-01 23:06:25 | contains: true

2022-07-01 23:06:25 | [Mutex] received everything.

2022-07-01 23:06:25 | [Mutex] isItemNotified: user_regularpksflq0203@test-domain.com:message:received:content_6p8efd0205 :: true

2022-07-01 23:06:25 |


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


2022-07-01 23:06:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-01 23:06:25 | command: <data><node>node_m4i03k0204</node><expire-at>2022-07-02T06:06:20Z</expire-at><entry><content>content_jnfkz10206</content></entry></data>

2022-07-01 23:06:25 | target: http://localhost:8088

2022-07-01 23:06:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-01 23:06:25 | entity: <data><node>node_m4i03k0204</node><expire-at>2022-07-02T06:06:20Z</expire-at><entry><content>content_jnfkz10206</content></entry></data>

2022-07-01 23:06:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 06:06:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-01 23:06:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>209b3641-0e6b-412c-9984-49e99b13f840</value></item-id></result>

2022-07-01 23:06:25 | contains: true

2022-07-01 23:06:25 | [Mutex] waiting for: [user_regularpksflq0203@test-domain.com:message:received:content_jnfkz10206]

2022-07-01 23:06:40 | [Mutex] timeout. Not received [user_regularpksflq0203@test-domain.com:message:received:content_jnfkz10206]

2022-07-01 23:06:40 | [Mutex] isItemNotified: user_regularpksflq0203@test-domain.com:message:received:content_jnfkz10206 :: false

2022-07-01 23:06:40 |


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


2022-07-01 23:06:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-01 23:06:40 | command: <data><node>node_m4i03k0204</node><entry><content>content_4ootqx0207</content></entry></data>

2022-07-01 23:06:40 | target: http://localhost:8088

2022-07-01 23:06:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-01 23:06:40 | entity: <data><node>node_m4i03k0204</node><entry><content>content_4ootqx0207</content></entry></data>

2022-07-01 23:06:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 06:06:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-01 23:06:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2d7af8b2-6b47-402d-b77c-897073981351</value></item-id></result>

2022-07-01 23:06:40 | contains: true

2022-07-01 23:06:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-01 23:06:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-01 23:06:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-01 23:06:45 | [Mutex] waiting for: [user_regularpksflq0203@test-domain.com:message:received:content_4ootqx0207]

2022-07-01 23:06:45 | [Mutex] waiting for: [user_regularpksflq0203@test-domain.com:message:received:content_4ootqx0207]

2022-07-01 23:06:45 | [Mutex] received everything.

2022-07-01 23:06:45 | [Mutex] isItemNotified: user_regularpksflq0203@test-domain.com:message:received:content_4ootqx0207 :: true

2022-07-01 23:06:45 |


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


2022-07-01 23:06:45 | [Mutex] received everything.

2022-07-01 23:06:45 | [Mutex] isItemNotified: node_m4i03k0204:subscribe_node:success :: true

2022-07-01 23:06:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-01 23:06:45 | command: <data><node>node_m4i03k0204</node><expire-at>2022-07-02T06:06:50Z</expire-at><entry><content>content_nz3p760208</content></entry></data>

2022-07-01 23:06:45 | target: http://localhost:8088

2022-07-01 23:06:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-01 23:06:45 | entity: <data><node>node_m4i03k0204</node><expire-at>2022-07-02T06:06:50Z</expire-at><entry><content>content_nz3p760208</content></entry></data>

2022-07-01 23:06:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 06:06:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-01 23:06:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>86eb024c-214b-4eff-926d-933fcccaf97e</value></item-id></result>

2022-07-01 23:06:45 | contains: true

2022-07-01 23:06:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-01 23:06:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-01 23:06:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-01 23:06:53 | [Mutex] waiting for: [user_regularpksflq0203@test-domain.com:message:received:content_nz3p760208]

2022-07-01 23:06:53 | [Mutex] waiting for: [user_regularpksflq0203@test-domain.com:message:received:content_nz3p760208]

2022-07-01 23:06:53 | [Mutex] waiting for: [user_regularpksflq0203@test-domain.com:message:received:content_nz3p760208]

2022-07-01 23:07:08 | [Mutex] timeout. Not received [user_regularpksflq0203@test-domain.com:message:received:content_nz3p760208]

2022-07-01 23:07:08 | [Mutex] received everything.

2022-07-01 23:07:08 | [Mutex] isItemNotified: user_regularpksflq0203@test-domain.com:message:received:content_nz3p760208 :: false

2022-07-01 23:07:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nz3p760208 :: true