• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

How to test with a serverR2 machine using a large time roll forward offset

Purpose:
Developer code behavior  testing; sending a transaction from a server with its clock set with a future date/time

Yes, we’re aware of the consequences of operating a domain member-server with a large  time offset.

General Process flow scenario----
From a page running on an IIS-web server, a customer submits a form populated with various information. The data in this  form is transmitted as xml to another server that processes it, injecting it into a database on another server.
They want to be able to change the date/time of the web-server so as to simulate a transaction at some future date/time.
Other than building a complete [sand box] I’ve suggested, disabling W32time, reset the date as desired and testing.

Anyone with experience or knowledge manipulating date/time of a server for testing in this manor, please post your insight(s).
0
QcHoldings
Asked:
QcHoldings
  • 2
  • 2
1 Solution
 
SteveCommented:
manipulating the time on a member server wont work for any domain authenticated traffic.

If you can send the data you want directly to an application using non-domain credentials (eg local user account, SQL account etc) you can get away with it.

Its actually much easier to do on a workgroup server instead of a domain one, as the domain member will moan and try to fix its own clock etc.

stopping the w32time service will stop it fixing itself.
0
 
QcHoldingsAuthor Commented:
Since no [experiential] or direct knowledge to this question has been contributed, above that which I’ve already expressed, I am closing this as [self-solved].
0
 
QcHoldingsAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for QcHoldings's comment #a39289989

for the following reason:

Since no [experiential] or direct knowledge to this question has been contributed, above that which I’ve already expressed, I am closing this as [self-solved].
0
 
SteveCommented:
My response is based on direct knowledge and offered a valid insight as requested.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now